summaryrefslogtreecommitdiffstats
path: root/sys/netpfil/pf/pf_ioctl.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-05-11 17:58:26 +0000
committerglebius <glebius@FreeBSD.org>2013-05-11 17:58:26 +0000
commit4a8f8f585a9cf84fbb06924e9afd3c700b624833 (patch)
tree0e66251918194c1138fda4e3f1ade79499f96a52 /sys/netpfil/pf/pf_ioctl.c
parent375ef2e633e6adac02fdab16d77ad89727638a65 (diff)
downloadFreeBSD-src-4a8f8f585a9cf84fbb06924e9afd3c700b624833.zip
FreeBSD-src-4a8f8f585a9cf84fbb06924e9afd3c700b624833.tar.gz
Fix DIOCADDSTATE operation.
Diffstat (limited to 'sys/netpfil/pf/pf_ioctl.c')
-rw-r--r--sys/netpfil/pf/pf_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c
index a6d7ca5..2b0f2cd 100644
--- a/sys/netpfil/pf/pf_ioctl.c
+++ b/sys/netpfil/pf/pf_ioctl.c
@@ -1691,7 +1691,7 @@ relock_DIOCKILLSTATES:
PF_RULES_RLOCK();
error = pfsync_state_import_ptr(sp, PFSYNC_SI_IOCTL);
PF_RULES_RUNLOCK();
- }
+ } else
error = EOPNOTSUPP;
break;
}
OpenPOWER on IntegriCloud