From cf5b8ca0f6de111e792c3243c8e1adc8bdb998c6 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 23 Feb 2020 12:27:12 +0100 Subject: pppoe: T2055: remove router-advert node in client interface --- src/migration-scripts/interfaces/4-to-5 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/migration-scripts/interfaces/4-to-5 b/src/migration-scripts/interfaces/4-to-5 index 19e0352c8..dd1e9a51e 100755 --- a/src/migration-scripts/interfaces/4-to-5 +++ b/src/migration-scripts/interfaces/4-to-5 @@ -39,6 +39,12 @@ def migrate_dialer(config, tree, intf): # Source interface migration config.set(pppoe_base + ['source-interface'], value=intf) + # Remove IPv6 router-advert nodes as this makes no sense on a + # client diale rinterface to send RAs back into the network + # https://phabricator.vyos.net/T2055 + ipv6_ra = pppoe_base + ['ipv6', 'router-advert'] + if config.exists(ipv6_ra): + config.delete(ipv6_ra) if __name__ == '__main__': -- cgit v1.2.3