From cc27402c4d78823f81bbf3d77663d0dc36735195 Mon Sep 17 00:00:00 2001 From: Don Slice Date: Thu, 19 Jul 2018 18:26:38 +0000 Subject: [PATCH] tools: handle exit-vrf as end of context block Ticket: CM-21048 Signed-off-by: Don Slice --- tools/frr-reload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/frr-reload.py b/tools/frr-reload.py index 208fb116e6..a9f183ed7b 100755 --- a/tools/frr-reload.py +++ b/tools/frr-reload.py @@ -403,7 +403,7 @@ end self.save_contexts(ctx_keys, current_context_lines) new_ctx = True - elif line == "end": + elif line in ["end", "exit-vrf"]: self.save_contexts(ctx_keys, current_context_lines) log.debug('LINE %-50s: exiting old context, %-50s', line, ctx_keys) -- 2.39.5