diff options
author | Christian Breunig <christian@breunig.cc> | 2023-10-19 19:55:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-19 19:55:50 +0200 |
commit | ef30b4b0ee52094edfdf9e230bf0fab1b092ed4e (patch) | |
tree | 1fe9c944e039a8ff63026cd7e0c8e365bb2ad02f | |
parent | e6118a08081faccaccea14fe1c30a633250ef901 (diff) | |
parent | 41bb90c6e347749c685a3db8845e2c9a622a3ef9 (diff) | |
download | vyos-1x-ef30b4b0ee52094edfdf9e230bf0fab1b092ed4e.tar.gz vyos-1x-ef30b4b0ee52094edfdf9e230bf0fab1b092ed4e.zip |
Merge pull request #2381 from c-po/vxlan-t5669
vxlan: T5669: unable to change port number
-rwxr-xr-x | src/conf_mode/interfaces-vxlan.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-vxlan.py b/src/conf_mode/interfaces-vxlan.py index bdf47eba0..27e611c87 100755 --- a/src/conf_mode/interfaces-vxlan.py +++ b/src/conf_mode/interfaces-vxlan.py @@ -21,7 +21,7 @@ from netifaces import interfaces from vyos.config import Config from vyos.configdict import get_interface_dict -from vyos.configdict import leaf_node_changed +from vyos.configdict import is_node_changed from vyos.configverify import verify_address from vyos.configverify import verify_bridge_delete from vyos.configverify import verify_mtu_ipv6 @@ -53,7 +53,7 @@ def get_config(config=None): 'source-address', 'source-interface', 'vni', 'parameters ip dont-fragment', 'parameters ip tos', 'parameters ip ttl']: - if leaf_node_changed(conf, cli_option.split()): + if is_node_changed(conf, cli_option.split()): vxlan.update({'rebuild_required': {}}) return vxlan |