summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-dummy.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-06 12:28:51 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-06 12:29:22 +0200
commitc38097eb62dfe5eb309d90752e3ce611999a48d1 (patch)
tree26f51c7fc05d84b94d8505668c935e92e95be392 /src/conf_mode/interface-dummy.py
parent5f87266d9ef3b72908b6f429e37df280f1be8cdf (diff)
downloadvyos-1x-c38097eb62dfe5eb309d90752e3ce611999a48d1.tar.gz
vyos-1x-c38097eb62dfe5eb309d90752e3ce611999a48d1.zip
dummy: loopback: T1580: T1601: synchronize comments
Diffstat (limited to 'src/conf_mode/interface-dummy.py')
-rwxr-xr-xsrc/conf_mode/interface-dummy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/interface-dummy.py b/src/conf_mode/interface-dummy.py
index 4a1179672..614fe08db 100755
--- a/src/conf_mode/interface-dummy.py
+++ b/src/conf_mode/interface-dummy.py
@@ -91,6 +91,8 @@ def apply(dummy):
du.ifalias = dummy['description']
# Configure interface address(es)
+ # - not longer required addresses get removed first
+ # - newly addresses will be added second
for addr in dummy['address_remove']:
du.del_addr(addr)
for addr in dummy['address']: