diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2020-04-27 19:34:08 +0000 |
|---|---|---|
| committer | Don Slice <dslice@cumulusnetworks.com> | 2020-05-05 17:59:59 +0000 |
| commit | ca7f04961d46b58952dde38d84a7483da53018cc (patch) | |
| tree | c5cdeb90f497c0e9106dd8eb1de5c868c50a96f4 /lib/hook.h | |
| parent | 44fb33ee585e865345e765143fdada2123875eae (diff) | |
tools: fix frr traceback on bgp neighbor bfd deletion
Problem reported that with certain configs, when the user
deleted a "neighbor x.x.x.x bfd 4 100 100" statement from
frr.conf and then reloaded, a traceback was seen and the
deletion did not succeed. Found that in some scenarios
it was possible to have something in lines_to_add that
was in a different context and when the re.search was
attempted, it found an empy line and was unhappy. This
fix avoids trying to search in the wrong context.
Ticket: CM-29145
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'lib/hook.h')
0 files changed, 0 insertions, 0 deletions
