mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-14 01:09:15 +00:00
tools: handle exit-vrf as end of context block
Ticket: CM-21048 Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
This commit is contained in:
parent
d0597b69f9
commit
cc27402c4d
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user