summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-14 05:18:13 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-14 05:18:13 +0100
commite67f0d98f488c3b0635ae6be120133d56ea24ea1 (patch)
tree41db4cbc7de5569e42321b0aba7459c16ee031d9 /python
parentdbc186526c4c470e1639dc6484cc697f16a91328 (diff)
downloadvyos-1x-e67f0d98f488c3b0635ae6be120133d56ea24ea1.tar.gz
vyos-1x-e67f0d98f488c3b0635ae6be120133d56ea24ea1.zip
ifconfig: T2034: remove obsolete comment
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/vyos/ifconfig.py b/python/vyos/ifconfig.py
index e5f50130f..b1f512785 100644
--- a/python/vyos/ifconfig.py
+++ b/python/vyos/ifconfig.py
@@ -827,12 +827,12 @@ class LoopbackIf(Interface):
# remove all assigned IP addresses from interface
for addr in self.get_addr():
if addr in ["127.0.0.1/8", "::1/128"]:
- # Do not allow deletion of the default loopback addresses
+ # Do not allow deletion of the default loopback addresses as
+ # this will cause weird system behavior like snmp/ssh no longer
+ # operating as expected, see https://phabricator.vyos.net/T2034.
continue
- self.del_addr(addr)
-
- # question: do we also delerte the loopback address? 127.0.0.1/8
+ self.del_addr(addr)
class DummyIf(Interface):