summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-05-25 16:29:22 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-05-25 16:29:22 +0000
commit46ed6db2f12c2e4fc5b9e0b1a75f2468f5909602 (patch)
tree2fea634d965bc410df160036b33f6ad870164f4e /sbin
parent8a69019d481366f9e65543a8d2c1aa95fb8d6270 (diff)
use bzero
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipsecctl/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipsecctl/parse.y b/sbin/ipsecctl/parse.y
index 4b6fa440748..cdf6000f77e 100644
--- a/sbin/ipsecctl/parse.y
+++ b/sbin/ipsecctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.2 2005/04/04 22:22:55 hshoexer Exp $ */
+/* $OpenBSD: parse.y,v 1.3 2005/05/25 16:29:21 hshoexer Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -619,7 +619,7 @@ host(const char *s)
}
}
- memset(&ipa->v4mask, 0, sizeof(ipa->v4mask));
+ bzero(&ipa->v4mask, sizeof(ipa->v4mask));
if (bits == 32) {
ipa->v4mask.mask32 = 0xffffffff;
ipa->netaddress = 0;