summaryrefslogtreecommitdiff
path: root/usr.sbin/authpf/authpf.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-12-19 14:04:04 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-12-19 14:04:04 +0000
commit652f1f5c522718aeff1a812318ab48ce3619a430 (patch)
treebd4d53cdabb6c9956c99a4f8d4d5351b0a1db82d /usr.sbin/authpf/authpf.c
parente63068bd7583769687a3fc9e798a2ba2ab3b0da6 (diff)
redundant memset
Diffstat (limited to 'usr.sbin/authpf/authpf.c')
-rw-r--r--usr.sbin/authpf/authpf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/authpf/authpf.c b/usr.sbin/authpf/authpf.c
index c097722e54d..a096770269f 100644
--- a/usr.sbin/authpf/authpf.c
+++ b/usr.sbin/authpf/authpf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authpf.c,v 1.36 2002/12/19 14:03:06 henning Exp $ */
+/* $OpenBSD: authpf.c,v 1.37 2002/12/19 14:04:03 henning Exp $ */
/*
* Copyright (C) 1998 - 2002 Bob Beck (beck@openbsd.org).
@@ -655,7 +655,6 @@ changefilter(int add, char *luser, char *ipsrc)
}
/* add/delete rules, using parse_rule */
- memset(&pf, 0, sizeof(pf));
pf.dev = dev;
pf.prule[PF_RULESET_RULE] = &pr;
if (parse_rules(fin, &pf, 0) < 0) {