diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-23 12:27:12 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-23 14:36:56 +0100 |
commit | cf5b8ca0f6de111e792c3243c8e1adc8bdb998c6 (patch) | |
tree | 1a61fd39bdc63f19190ffc9257442dfffa492350 /src/migration-scripts/interfaces/4-to-5 | |
parent | 3d0162557f9c2217d4a925e6c893863b1af55e58 (diff) | |
download | vyos-1x-cf5b8ca0f6de111e792c3243c8e1adc8bdb998c6.tar.gz vyos-1x-cf5b8ca0f6de111e792c3243c8e1adc8bdb998c6.zip |
pppoe: T2055: remove router-advert node in client interface
Diffstat (limited to 'src/migration-scripts/interfaces/4-to-5')
-rwxr-xr-x | src/migration-scripts/interfaces/4-to-5 | 6 |
1 files changed, 6 insertions, 0 deletions
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__': |