diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2018-07-03 08:50:49 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2018-07-03 08:50:49 +0000 |
| commit | 7a2bf4c52ec41f53ca949893ebeb9c7a01bd8f5d (patch) | |
| tree | 7d9ed3b20150ae2d75234fc4ddbb6674ab14c76b /sbin/pfctl | |
| parent | 8e9b3e707151d136ec95e7f1d37556e39c1e228c (diff) | |
Notes
Diffstat (limited to 'sbin/pfctl')
| -rw-r--r-- | sbin/pfctl/pfctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 6388db90d97dd..7e5da60ed2001 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -2409,7 +2409,7 @@ main(int argc, char *argv[]) } if ((rulesopt != NULL) && (loadopt & PFCTL_FLAG_OPTION) && - !anchorname[0]) + !anchorname[0] && !(opts & PF_OPT_NOACTION)) if (pfctl_get_skip_ifaces()) error = 1; |
