summaryrefslogtreecommitdiff
path: root/tests/topotests/example-test/test_example.py
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-03-26 10:39:16 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2020-03-26 10:39:16 -0400
commit13e0321ac99554852cecfeb7701f8e38baf1d773 (patch)
treeae2cd33380d8373ed4eb2697f87bf304ca4adafd /tests/topotests/example-test/test_example.py
parentd8bfd8dc9a899f841967257a6b5f30910fdc17c8 (diff)
zebra: remove unnecessary `cmd =` check
In the netlink code for determining whether to set a src on the route, we check if the cmd=NEW_ROUTE but its not possible for this to ever be anything but a new route since we do a goto skip further up if its a DEL_ROUTE cmd. So remove this unnecessary check. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions