summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/frr-reload.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/frr-reload.py b/tools/frr-reload.py
index e15eab4a8f..57e9f026e3 100755
--- a/tools/frr-reload.py
+++ b/tools/frr-reload.py
@@ -700,6 +700,11 @@ def compare_context_objects(newconf, running):
delete_bgpd = True
lines_to_del.append((running_ctx_keys, None))
+ # We cannot do 'no interface' in quagga, and so deal with it
+ elif running_ctx_keys[0].startswith('interface'):
+ for line in running_ctx.lines:
+ lines_to_del.append((running_ctx_keys, line))
+
# If this is an address-family under 'router bgp' and we are already deleting the
# entire 'router bgp' context then ignore this sub-context
elif "router bgp" in running_ctx_keys[0] and len(running_ctx_keys) > 1 and delete_bgpd: