summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-20 23:04:02 +0100
committerGitHub <noreply@github.com>2024-12-20 23:04:02 +0100
commit4b7f5bc06fda2613c89f75562efa90680463f78e (patch)
tree2a2afd4f2597690335cf8a9753f3a270c12208bd
parent637e4cef5ba247a7ead550f529af298e46759baf (diff)
parent8f52e7f523bbdc9158d12c5067a1313c931af44f (diff)
downloadvyos-1x-4b7f5bc06fda2613c89f75562efa90680463f78e.tar.gz
vyos-1x-4b7f5bc06fda2613c89f75562efa90680463f78e.zip
Merge pull request #4246 from natali-rs1985/T6930
pppoe: T6930: Remove unnecessary code
-rw-r--r--python/vyos/ifconfig/pppoe.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/python/vyos/ifconfig/pppoe.py b/python/vyos/ifconfig/pppoe.py
index febf1452d..f80a68d4f 100644
--- a/python/vyos/ifconfig/pppoe.py
+++ b/python/vyos/ifconfig/pppoe.py
@@ -115,14 +115,6 @@ class PPPoEIf(Interface):
# before this is done by the base class.
self._config = config
- # remove old routes from an e.g. old VRF assignment
- if 'shutdown_required':
- vrf = None
- tmp = get_interface_config(self.ifname)
- if 'master' in tmp:
- vrf = tmp['master']
- self._remove_routes(vrf)
-
# DHCPv6 PD handling is a bit different on PPPoE interfaces, as we do
# not require an 'address dhcpv6' CLI option as with other interfaces
if 'dhcpv6_options' in config and 'pd' in config['dhcpv6_options']: