summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
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}')