summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-08-05 00:29:15 +0200
committerDaniil Baturin <daniil@baturin.org>2018-08-05 00:29:15 +0200
commit60fc8a28827c55050ead78371fbefd7566df6287 (patch)
tree98160f3fbee7534691d73a021fea12763cb027c1 /scripts
parent90daa5e2cf02ffd3fd5936b4f372f1e85ab62ef6 (diff)
downloadvyatta-cfg-vpn-60fc8a28827c55050ead78371fbefd7566df6287.tar.gz
vyatta-cfg-vpn-60fc8a28827c55050ead78371fbefd7566df6287.zip
T628: delete the default route from the StrongSWAN table (220 hardcoded) for VTI connections
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vti-up-down1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vti-up-down b/scripts/vti-up-down
index 378cb6e..8d363da 100755
--- a/scripts/vti-up-down
+++ b/scripts/vti-up-down
@@ -6,6 +6,7 @@ source /etc/default/vyatta
source /etc/default/locale
case "$PLUTO_VERB" in
route-client | up-client)
+/bin/ip route delete default table 220
/opt/vyatta/sbin/vyatta-vti-config.pl --updown --intf=$1 --action=up
;;
down-client)