From c82ebb6aa02ec3d5e4a8e2e703261216c833bd22 Mon Sep 17 00:00:00 2001 From: reyk Date: Mon, 28 Apr 2014 15:43:04 +0000 Subject: [PATCH] sync bzero => memset that was done for ip_divert.c before. ok tedu@ --- sys/netinet6/ip6_divert.c | 4 ++-- 1 file 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 @@ -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); -- 2.20.1