1
0
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:
Ondrej Zajicek
2012-01-09 02:40:57 +01:00
parent 3f58437405
commit d7f469c15c
4 changed files with 20 additions and 19 deletions

View File

@@ -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);