Skip to content

Commit

Permalink
Merge pull request #4246 from natali-rs1985/T6930
Browse files Browse the repository at this point in the history
pppoe: T6930: Remove unnecessary code
  • Loading branch information
c-po authored Dec 20, 2024
2 parents 637e4ce + 8f52e7f commit 4b7f5bc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions python/vyos/ifconfig/pppoe.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,6 @@ def update(self, config):
# 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']:
Expand Down

0 comments on commit 4b7f5bc

Please sign in to comment.