diff options
author | glebius <glebius@FreeBSD.org> | 2013-05-11 17:58:26 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-05-11 17:58:26 +0000 |
commit | 4a8f8f585a9cf84fbb06924e9afd3c700b624833 (patch) | |
tree | 0e66251918194c1138fda4e3f1ade79499f96a52 /sys/netpfil/pf/pf_ioctl.c | |
parent | 375ef2e633e6adac02fdab16d77ad89727638a65 (diff) | |
download | FreeBSD-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.c | 2 |
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; } |