From f26c44b4cbeb1b69a5256f5b36f6fa44968234c4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 26 May 2020 21:49:35 +0200 Subject: pppoe: T2502: always delete default route once interface goes down --- data/templates/pppoe/ip-down.script.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data/templates/pppoe') diff --git a/data/templates/pppoe/ip-down.script.tmpl b/data/templates/pppoe/ip-down.script.tmpl index c4e11b6b4..9e6bd2a8e 100644 --- a/data/templates/pppoe/ip-down.script.tmpl +++ b/data/templates/pppoe/ip-down.script.tmpl @@ -25,6 +25,9 @@ fi # Always delete default route when interface goes down vtysh -c "conf t" ${VRF_NAME} -c "no ip route 0.0.0.0/0 {{ intf }} ${VRF_NAME}" +{% if ipv6_enable %} +vtysh -c "conf t" ${VRF_NAME} -c "no ipv6 route ::/0 {{ intf }} ${VRF_NAME}" +{% endif %} {% endif %} {% if dhcpv6_pd_interfaces %} -- cgit v1.2.3