diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-28 10:14:20 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-28 18:10:08 +0100 |
commit | 5574bd672825a87b1983cc135ae2e0bdabbe751b (patch) | |
tree | 51172c12b38525028db29a4321b759cb9c6c8773 /python/vyos/ifconfig/l2tpv3.py | |
parent | f585fd497ad0daa4cbecd777bb5e8fa6d18f879f (diff) | |
download | vyos-1x-5574bd672825a87b1983cc135ae2e0bdabbe751b.tar.gz vyos-1x-5574bd672825a87b1983cc135ae2e0bdabbe751b.zip |
l2tpv3: T3366: migrate local-ip and remote-ip CLI options
Rename CLI options local-ip to source-address and remote-ip to remote to
get a consistent CLI experience for the user.
Diffstat (limited to 'python/vyos/ifconfig/l2tpv3.py')
-rw-r--r-- | python/vyos/ifconfig/l2tpv3.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/ifconfig/l2tpv3.py b/python/vyos/ifconfig/l2tpv3.py index 34f8cd4d3..b717394a6 100644 --- a/python/vyos/ifconfig/l2tpv3.py +++ b/python/vyos/ifconfig/l2tpv3.py @@ -41,8 +41,8 @@ class L2TPv3If(Interface): cmd += ' udp_sport {source_port}' cmd += ' udp_dport {destination_port}' cmd += ' encap {encapsulation}' - cmd += ' local {local_ip}' - cmd += ' remote {remote_ip}' + cmd += ' local {source_address}' + cmd += ' remote {remote}' self._cmd(cmd.format(**self.config)) # setup session |