From 652f1f5c522718aeff1a812318ab48ce3619a430 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Thu, 19 Dec 2002 14:04:04 +0000 Subject: redundant memset --- usr.sbin/authpf/authpf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.sbin/authpf/authpf.c') 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] = ≺ if (parse_rules(fin, &pf, 0) < 0) { -- cgit v1.2.3