summaryrefslogtreecommitdiff
path: root/tests/lib/test_xref.py
diff options
context:
space:
mode:
authorEmanuele Di Pascale <emanuele@voltanet.io>2021-04-22 19:04:47 +0200
committerEmanuele Di Pascale <emanuele@voltanet.io>2021-04-23 11:20:52 +0200
commitc3b95419ba3a3f7cb6cdcb96e58bcc85b6965557 (patch)
treeb8049a9ab49bf71708506f2a29cc5f62bc27367c /tests/lib/test_xref.py
parentb38f1fd03dacfcd2536d96379f575156d3844ee9 (diff)
bgpd: fix invalid labeled nexthop check
the code processing an NHT update was only resetting the BGP_NEXTHOP_VALID flag, so labeled nexthops were considered valid even if there was no nexthop. Reset the flag in response to the update, and also make the isvalid_nexthop functions a little more robust by checking the number of nexthops. Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'tests/lib/test_xref.py')
0 files changed, 0 insertions, 0 deletions