summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2019-01-11 03:09:24 +0000
committerkn <kn@openbsd.org>2019-01-11 03:09:24 +0000
commit7863d3574f0554bfd8f7d303d7f845d4680a517d (patch)
treea9796a8bd0866acd0f8387edd046c6a0d8ee9b3c /lib/libc/sys
parentWhen creating tables inside anchors, pfctl warned about namespace (diff)
downloadwireguard-openbsd-7863d3574f0554bfd8f7d303d7f845d4680a517d.tar.xz
wireguard-openbsd-7863d3574f0554bfd8f7d303d7f845d4680a517d.zip
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')
0 files changed, 0 insertions, 0 deletions