mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
Rename crvsn -> vlsm in sort_routes()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
dfd0692176
commit
47de98ff44
@ -432,7 +432,7 @@ save_config() {
|
||||
sort_routes() {
|
||||
local dest
|
||||
local rest
|
||||
local crvsn
|
||||
local vlsm
|
||||
|
||||
while read dest rest; do
|
||||
if [ -n "$dest" ]; then
|
||||
@ -441,8 +441,8 @@ sort_routes() {
|
||||
echo "00 $dest $rest"
|
||||
;;
|
||||
*/*)
|
||||
crvsn=${dest#*/}
|
||||
printf "%02d %s\n" $crvsn "$dest $rest"
|
||||
vlsm=${dest#*/}
|
||||
printf "%02d %s\n" $vlsm "$dest $rest"
|
||||
;;
|
||||
*)
|
||||
echo "32 $dest $rest"
|
||||
|
Loading…
Reference in New Issue
Block a user