summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getsockopt.2
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2019-01-11 03:09:25 +0000
committerkn <kn@cvs.openbsd.org>2019-01-11 03:09:25 +0000
commite1705b7af17d7a6fd00125b2c0f08da58c33f488 (patch)
tree022ea07d9bed86984616374477ad2486792ab4fc /lib/libc/sys/getsockopt.2
parentb91757e91a2808b17750d5ac32aebebfaeb5eef9 (diff)
Defuse `-F all -i interface'
Flushing all filter parameters does not make sense on one specific interface only as already noted. However, the main ruleset as well as all tables were still cleared on such invalid usage. Furthermore, an empty interface name was treated like no interface at all, hence source tracking entries, statistics and interface flags were cleared also. Immediately error out if `-i' is given regardless of its argument before flushing anything. OK sashan
Diffstat (limited to 'lib/libc/sys/getsockopt.2')
0 files changed, 0 insertions, 0 deletions