forked from extern/shorewall_code
Edit addresses in interactive commands -- Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5148 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
a07797bdac
commit
cd566ebbd0
@ -756,7 +756,7 @@ case "$COMMAND" in
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
valid_address $address || fatal_error "Invalid IP address: $address"
|
valid_address $address || fatal_error "Invalid IP address: $address"
|
||||||
if [ -z "$vlsm" ] && exit 2
|
[ -z "$vlsm" ] && exit 2
|
||||||
[ "x$address" = "x$vlsm" ] && usage 2
|
[ "x$address" = "x$vlsm" ] && usage 2
|
||||||
[ $vlsm -gt 32 ] && echo "Invalid VLSM: /$vlsm" >&2 && exit 2
|
[ $vlsm -gt 32 ] && echo "Invalid VLSM: /$vlsm" >&2 && exit 2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user