summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-03-26 17:18:04 +0100
committerGitHub <noreply@github.com>2026-03-26 17:18:04 +0100
commitff5d862443cb5f4d6aea1be0e059b26bac290d68 (patch)
tree209023dda2c25c9c26fa85f19bbc3e858167612d /python
parent1e694a1997ccc2a7267e25eb9c2cdfe29b0e9ce8 (diff)
parenteba3bd71fe39aa91177d50eb5d18ca7706c26bc7 (diff)
downloadvyos-1x-ff5d862443cb5f4d6aea1be0e059b26bac290d68.tar.gz
vyos-1x-ff5d862443cb5f4d6aea1be0e059b26bac290d68.zip
Merge pull request #5067 from AlectoTheFirst/fix/pppoe-ipv6-address-typeerror
T8404: pppoe: fix TypeError when ipv6 address node exists without autoconf
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/pppoe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/pppoe.py b/python/vyos/ifconfig/pppoe.py
index c20c6efaa..2a89cbddd 100644
--- a/python/vyos/ifconfig/pppoe.py
+++ b/python/vyos/ifconfig/pppoe.py
@@ -142,5 +142,5 @@ class PPPoEIf(Interface):
self._cmd(f'vtysh -c "conf t" {vrf} -c "ipv6 route ::/0 {self.ifname} tag 210 {distance}"')
# kick RS when IPv6 is up.
- if 'autoconf' in dict_search('ipv6.address', config):
+ if dict_search('ipv6.address.autoconf', config) is not None:
self._cmd(f'rdisc6 --single --retry 3 {self.ifname}')