freebsd-dev/sbin/ipfw
Andrey V. Elsukov 76d0325743 An old tables implementation had all tables preallocated,
so when user did `ipfw table N flush` it always worked, but now
when table N doesn't exist the kernel returns ESRCH error.
This isn't fatal error for flush and destroy commands. Do not
call err(3) when errno is equal to ESRCH. Also warn only when
quiet mode isn't enabled. This fixes a regression in behavior,
when old rules are loaded from file.
Also use correct value for switch in the table_swap().

Reported by:	Kevin Oberman
MFC after:	3 days
2016-08-01 13:38:48 +00:00
..
altq.c Merge buffer-printing changes from from projects/ipfw as preparation 2014-08-23 17:37:18 +00:00
dummynet.c Flush buffer after output. This fixes adding new data to already 2016-07-11 12:44:58 +00:00
ipfw2.c Add named dynamic states support to ipfw(4). 2016-07-19 04:56:59 +00:00
ipfw2.h Add ipfw_nptv6 module that implements Network Prefix Translation for IPv6 2016-07-18 19:46:31 +00:00
ipfw.8 Add named dynamic states support to ipfw(4). 2016-07-19 04:56:59 +00:00
ipv6.c sbin: minor spelling fixes. 2016-04-30 19:04:59 +00:00
main.c Add ipfw_nptv6 module that implements Network Prefix Translation for IPv6 2016-07-18 19:46:31 +00:00
Makefile Add ipfw_nptv6 module that implements Network Prefix Translation for IPv6 2016-07-18 19:46:31 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
nat.c Code cleanup unused-but-set-variable spotted by gcc. 2015-08-25 15:32:08 +00:00
nptv6.c Add ipfw_nptv6 module that implements Network Prefix Translation for IPv6 2016-07-18 19:46:31 +00:00
tables.c An old tables implementation had all tables preallocated, 2016-08-01 13:38:48 +00:00