From ba06bfed4fc84b699689932eeb3af9b9be0f5cd7 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 19 May 2020 21:27:43 +0200 Subject: dhcpv6-pd: T421: support ethernet based interfaces Add support for prefix delegation when receiving the prefix via ethernet, bridge, bond, wireless. --- src/conf_mode/interfaces-bonding.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/conf_mode/interfaces-bonding.py') diff --git a/src/conf_mode/interfaces-bonding.py b/src/conf_mode/interfaces-bonding.py index 40fadad27..bdca9d170 100755 --- a/src/conf_mode/interfaces-bonding.py +++ b/src/conf_mode/interfaces-bonding.py @@ -299,6 +299,9 @@ def apply(bond): if bond['dhcpv6_temporary']: b.dhcp.v6.options['dhcpv6_temporary'] = True + if bond['dhcpv6_pd']: + b.dhcp.v6.options['dhcpv6_pd'] = bond['dhcpv6_pd'] + # ignore link state changes b.set_link_detect(bond['disable_link_detect']) # Bonding transmit hash policy -- cgit v1.2.3