From e67f0d98f488c3b0635ae6be120133d56ea24ea1 Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Fri, 14 Feb 2020 05:18:13 +0100
Subject: ifconfig: T2034: remove obsolete comment

---
 python/vyos/ifconfig.py | 8 ++++----
 1 file 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):
 
-- 
cgit v1.2.3