]> git.puffer.fish Git - mirror/frr.git/commit
zebra: reject routes without nexthops 3559/head
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 2 Jan 2019 20:37:00 +0000 (18:37 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 14 Jan 2019 17:58:26 +0000 (15:58 -0200)
commit7fcb24bbaa91762965ad15aff10956919fdc3c08
treefbb7cb5cc14385c0586788f162d1dd61309d7e6b
parente4081c0e0b0ff763f446d92095017e8cb4df67aa
zebra: reject routes without nexthops

Routes without nexthops don't make any sense, so we need to reject
them otherwise weird things can happen.

NOTE: blackhole routes aren't nexthop-less, they do have a single
nexthop of type NEXTHOP_TYPE_BLACKHOLE.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
zebra/zapi_msg.c
zebra/zebra_errors.c
zebra/zebra_errors.h