diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-01-01 16:08:53 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-01-01 16:08:53 +0000 |
commit | a73198e248c7ed11e9ec8f138f54123c75bb81bc (patch) | |
tree | c1f4e31c88f301dffb06d03553853b5825f24b66 /sys/net | |
parent | 1b9f3a1e893dffadfc5df164c0d3da11c95b8ee4 (diff) |
KNF
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/pf_table.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pf_table.c b/sys/net/pf_table.c index ef34997b7b0..60be778b357 100644 --- a/sys/net/pf_table.c +++ b/sys/net/pf_table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_table.c,v 1.7 2003/01/01 15:26:17 cedric Exp $ */ +/* $OpenBSD: pf_table.c,v 1.8 2003/01/01 16:08:52 henning Exp $ */ /* * Copyright (c) 2002 Cedric Berger @@ -274,7 +274,7 @@ pfr_del_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size, p = pfr_lookup_addr(kt, &ad, 1); if (flags & PFR_FLAG_FEEDBACK) { ad.pfra_fback = (p == NULL) ? PFR_FB_NONE : - (p->pfrke_mark ? PFR_FB_DUPLICATE : + (p->pfrke_mark ? PFR_FB_DUPLICATE : PFR_FB_DELETED); if (copyout(&ad, addr+i, sizeof(ad))) senderr(EFAULT); @@ -282,7 +282,7 @@ pfr_del_addrs(struct pfr_table *tbl, struct pfr_addr *addr, int size, if (p != NULL) { if (p->pfrke_mark) continue; - p->pfrke_mark = 1; + p->pfrke_mark = 1; SLIST_INSERT_HEAD(&workq, p, pfrke_workq); xdel++; } |