artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9eeb58
)
sync bzero => memset that was done for ip_divert.c before.
author
reyk
<reyk@openbsd.org>
Mon, 28 Apr 2014 15:43:04 +0000
(15:43 +0000)
committer
reyk
<reyk@openbsd.org>
Mon, 28 Apr 2014 15:43:04 +0000
(15:43 +0000)
ok tedu@
sys/netinet6/ip6_divert.c
patch
|
blob
|
history
diff --git
a/sys/netinet6/ip6_divert.c
b/sys/netinet6/ip6_divert.c
index
08b42fe
..
1e44359
100644
(file)
--- a/
sys/netinet6/ip6_divert.c
+++ b/
sys/netinet6/ip6_divert.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ip6_divert.c,v 1.2
2 2014/04/23 14:43:14 florian
Exp $ */
+/* $OpenBSD: ip6_divert.c,v 1.2
3 2014/04/28 15:43:04 reyk
Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@
-223,7
+223,7
@@
divert6_packet(struct mbuf *m, int dir)
break;
}
-
bzero(&addr
, sizeof(addr));
+
memset(&addr, 0
, sizeof(addr));
addr.sin6_family = AF_INET6;
addr.sin6_len = sizeof(addr);