summaryrefslogtreecommitdiff
path: root/scripts/vti-up-down
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vti-up-down')
-rwxr-xr-xscripts/vti-up-down5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/vti-up-down b/scripts/vti-up-down
index 8d363da..08e31c0 100755
--- a/scripts/vti-up-down
+++ b/scripts/vti-up-down
@@ -5,14 +5,15 @@
source /etc/default/vyatta
source /etc/default/locale
case "$PLUTO_VERB" in
-route-client | up-client)
+route-client | up-client | up-host)
/bin/ip route delete default table 220
/opt/vyatta/sbin/vyatta-vti-config.pl --updown --intf=$1 --action=up
;;
-down-client)
+down-client | down-host)
/opt/vyatta/sbin/vyatta-vti-config.pl --updown --intf=$1 --action=down
;;
*)
;;
esac
exit 0
+