summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_divert.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2014-04-28 15:43:05 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2014-04-28 15:43:05 +0000
commit69fe6ddd799075b74ca5e5576ca37f35f69cffa5 (patch)
tree50d8b79ff66edb7ca04e9c2941e1e5233d62a7fc /sys/netinet6/ip6_divert.c
parent01902b13133bd45eaa86e59d8e92aef02da28a3a (diff)
sync bzero => memset that was done for ip_divert.c before.
ok tedu@
Diffstat (limited to 'sys/netinet6/ip6_divert.c')
-rw-r--r--sys/netinet6/ip6_divert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_divert.c b/sys/netinet6/ip6_divert.c
index 08b42fe5565..1e44359f8fe 100644
--- a/sys/netinet6/ip6_divert.c
+++ b/sys/netinet6/ip6_divert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_divert.c,v 1.22 2014/04/23 14:43:14 florian Exp $ */
+/* $OpenBSD: ip6_divert.c,v 1.23 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);