Rename crvsn -> vlsm in sort_routes()

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-10-13 09:58:34 -07:00
parent dfd0692176
commit 47de98ff44

View File

@ -432,7 +432,7 @@ save_config() {
sort_routes() { sort_routes() {
local dest local dest
local rest local rest
local crvsn local vlsm
while read dest rest; do while read dest rest; do
if [ -n "$dest" ]; then if [ -n "$dest" ]; then
@ -441,8 +441,8 @@ sort_routes() {
echo "00 $dest $rest" echo "00 $dest $rest"
;; ;;
*/*) */*)
crvsn=${dest#*/} vlsm=${dest#*/}
printf "%02d %s\n" $crvsn "$dest $rest" printf "%02d %s\n" $vlsm "$dest $rest"
;; ;;
*) *)
echo "32 $dest $rest" echo "32 $dest $rest"