From d7f469c15c1fd8315061f85b87a19946c3ea4700 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 9 Jan 2012 02:40:57 +0100 Subject: Some minor fixes. --- proto/bgp/packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/bgp/packets.c') diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index bbb0865f..998abb7b 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -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); -- cgit v1.2.3