]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Assert that community_str2com("no-export") always returns non-NULL 7922/head
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 25 Jan 2021 07:51:22 +0000 (09:51 +0200)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 25 Jan 2021 07:51:22 +0000 (09:51 +0200)
commitb4efa101a8a8354fe763d828bdd116cff89c60aa
tree3ed57c1f9cb5a39cb85c47b84522cb93305b2f89
parenta5de4a566d6f2732e2156bc5a51685d2824e875f
bgpd: Assert that community_str2com("no-export") always returns non-NULL

community_str2com("no-export"); returns ALWAYS non-NULL.

If NULL returned here, we really have a bigger problems in the call path.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_route.c