diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-10-23 22:22:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-10-23 22:22:45 +0000 |
commit | 6e13bdce9dd32ccf457c4c1bd044be63efb569b6 (patch) | |
tree | a158bedf914b3135082f17d011483cbbc95e7af1 /sys/net/pf_ioctl.c | |
parent | 6f459ae12d184272e7ef7b3f547537bbf501f31a (diff) |
use the correct idiom for NFOO things which come from "foo.h" files
ok dlg
Diffstat (limited to 'sys/net/pf_ioctl.c')
-rw-r--r-- | sys/net/pf_ioctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c index 4c1e18c89d6..5f0c35be052 100644 --- a/sys/net/pf_ioctl.c +++ b/sys/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_ioctl.c,v 1.209 2008/06/29 08:42:15 mcbride Exp $ */ +/* $OpenBSD: pf_ioctl.c,v 1.210 2008/10/23 22:22:44 deraadt Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1489,7 +1489,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) if (!psk->psk_ifname[0] || !strcmp(psk->psk_ifname, s->kif->pfik_name)) { -#if NPFSYNC +#if NPFSYNC > 0 /* don't send out individual delete messages */ s->sync_flags = PFSTATE_NOSYNC; #endif @@ -1498,7 +1498,7 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) } } psk->psk_killed = killed; -#if NPFSYNC +#if NPFSYNC > 0 pfsync_clear_states(pf_status.hostid, psk->psk_ifname); #endif break; |