]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Allow blackhole route deletion for prefixes
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 16 Apr 2018 22:42:40 +0000 (18:42 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 16 Apr 2018 22:42:40 +0000 (18:42 -0400)
commitc766824c629540d38825def64ddadb9447234029
tree12cf5b353d91898c16b623530801e9ad66fecccf
parentee11db2943ec7c84c16716f57e177a6219286170
zebra: Allow blackhole route deletion for prefixes

With the recent change to just pass the prefix in
for the RTM_DELROUTE, for blackhole routes we
had stopped modifying the req.rtm_type to
be the appropriate type for blackhole routes.

Since we are just deleting on the route, and
zebra is never going to really install the same
route multiple times then we do not need
to specify the req.r.rtm_type for the deletion
command.

Ticket: CM-20616
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/rt_netlink.c