summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Manley <paul.manley@wholefoods.com>2020-07-09 11:21:16 -0500
committerPaul Manley <paul.manley@wholefoods.com>2020-07-09 11:21:16 -0500
commit1c23a0aaa1c5d20af50af75b070e93e1eff21222 (patch)
treebbd9992f6972e96b688006bd755d7c4fcd7507a5
parent4030687aab47da7ea11ff2420fdda016e0e7f9d5 (diff)
tools: create sub-context for bfd peers
add lines starting with 'peer' to the list of sub-contexts that are handled by frr-reload.py. https://github.com/FRRouting/frr/issues/6511#issuecomment-655163833 Signed-off-by: Paul Manley <paul.manley@wholefoods.com>
-rwxr-xr-xtools/frr-reload.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/frr-reload.py b/tools/frr-reload.py
index 200279b125..9e86cf2156 100755
--- a/tools/frr-reload.py
+++ b/tools/frr-reload.py
@@ -588,6 +588,7 @@ end
line.startswith("vnc defaults") or
line.startswith("vnc l2-group") or
line.startswith("vnc nve-group") or
+ line.startswith("peer") or
line.startswith("member pseudowire")):
main_ctx_key = []