diff options
Diffstat (limited to 'sysconfig/network-scripts/ifdown-post')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-post | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post index b78399ee..6c244ca1 100755 --- a/sysconfig/network-scripts/ifdown-post +++ b/sysconfig/network-scripts/ifdown-post @@ -23,9 +23,9 @@ if ! check_default_route ; then # ISDN device needs special handling dial on demand if [ "${DEVICETYPE}" = "ippp" -o "${DEVICETYPE}" = "isdn" ] && [ "$DIALMODE" = "auto" ] ; then if [ -z "$GATEWAY" ] ; then - /sbin/ip route add default dev ${DEVICE} + /sbin/ip route add default ${WINDOW:+window $WINDOW} dev ${DEVICE} else - /sbin/ip route add default via ${GATEWAY} + /sbin/ip route add default ${WINDOW:+window $WINDOW} via ${GATEWAY} fi else add_default_route ${DEVICE} |