mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Some minor fixes.
This commit is contained in:
@@ -831,7 +831,7 @@ bgp_set_next_hop(struct bgp_proto *p, rta *a)
|
||||
|
||||
if (p->cf->gw_mode == GW_DIRECT)
|
||||
{
|
||||
neighbor *ng;
|
||||
neighbor *ng = NULL;
|
||||
|
||||
if (ipa_nonzero(*nexthop))
|
||||
ng = neigh_find(&p->p, nexthop, 0);
|
||||
|
Reference in New Issue
Block a user