summaryrefslogtreecommitdiff
path: root/lib/openbsd-queue.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-12-04 16:03:31 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-12-05 08:20:24 +0100
commit82c1d82d7767570af287b8fa8d887ba8a40015e3 (patch)
tree07920eb43fefdd7056bccf04d747d73535ca8f14 /lib/openbsd-queue.h
parent3f4c682e48614174af5f19ed440919b8a3267fba (diff)
sharpd: fix deleting nhid when suppressing nexthop from nh group
When no nexthops are in a nexthop group, two successive events are sent: NHG_DEL and NHG_ADD, but only the NHG_DEL one is necessary. Fixes this by returning in the nhg_add() function. Fixes: 82beaf6ae520 ("sharpd: fix deleting nhid when suppressing nexthop from nh group") Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/openbsd-queue.h')
0 files changed, 0 insertions, 0 deletions