diff options
Diffstat (limited to 'ripngd/ripngd.c')
-rw-r--r-- | ripngd/ripngd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripngd.c b/ripngd/ripngd.c index fb6b6423..cd4e0586 100644 --- a/ripngd/ripngd.c +++ b/ripngd/ripngd.c @@ -1332,7 +1332,7 @@ ripng_read (struct thread *thread) int sock; struct sockaddr_in6 from; struct ripng_packet *packet; - unsigned int ifindex; + unsigned int ifindex = 0 ; /* avoid warning (gcc 4.2.1 !) */ struct interface *ifp; int hoplimit = -1; |