]> git.proxmox.com Git - mirror_frr.git/commitdiff
tools: create sub-context for bfd peers
authorPaul Manley <paul.manley@wholefoods.com>
Thu, 9 Jul 2020 16:21:16 +0000 (11:21 -0500)
committerPaul Manley <paul.manley@wholefoods.com>
Thu, 9 Jul 2020 16:21:16 +0000 (11:21 -0500)
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>
tools/frr-reload.py

index 200279b125dbb1b90cce1cc82598645dac634f07..9e86cf2156784dcfac2111daf2c189590952f719 100755 (executable)
@@ -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 = []