diff options
author | 2010-11-05 10:30:33 +0000 | |
---|---|---|
committer | 2010-11-05 10:30:33 +0000 | |
commit | c9d73c79780ba99e8ba1d14422fe046f42aefec0 (patch) | |
tree | b7528ef7e67caf04abe60a85831f4baed743c73c | |
parent | Print relativ number of livelocks that happend between two systat (diff) | |
download | wireguard-openbsd-c9d73c79780ba99e8ba1d14422fe046f42aefec0.tar.xz wireguard-openbsd-c9d73c79780ba99e8ba1d14422fe046f42aefec0.zip |
- fix possible use of uninitialized variable.
ok claudio@
-rw-r--r-- | usr.sbin/mrouted/igmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mrouted/igmp.c b/usr.sbin/mrouted/igmp.c index 2f16c1f6ba1..f2c86586bb3 100644 --- a/usr.sbin/mrouted/igmp.c +++ b/usr.sbin/mrouted/igmp.c @@ -303,7 +303,7 @@ send_igmp(u_int32_t src, u_int32_t dst, int type, int code, struct sockaddr_in sdst; struct ip *ip; struct igmp *igmp; - int setloop; + int setloop = 0; ip = (struct ip *)send_buf; ip->ip_src.s_addr = src; |