]> git.puffer.fish Git - mirror/frr.git/commit
tools: frr-reload combine "'router bgp' and line" checks
authorDaniel Walton <dwalton@cumulusnetworks.com>
Fri, 10 Nov 2017 17:47:13 +0000 (17:47 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Fri, 10 Nov 2017 17:47:13 +0000 (17:47 +0000)
commit028bcc883f47002e8469cb1fd4ef64457aebc8a5
tree42e2c13b2dfb4e69619bbf9653277cf0329d2d05
parentc755f5c434e775f93b2346216b19adef775b7ba8
tools: frr-reload combine "'router bgp' and line" checks

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
We had multiple places checking for

    if ctx_keys[0].startswith('router bgp') and line

Combine these into a single check
tools/frr-reload.py