HardenedBSD/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
dummynet.c
ipfw2.c
ipfw2.h
ipfw.8
ipv6.c
main.c
Makefile
Makefile.depend
nat.c
nptv6.c
tables.c An old tables implementation had all tables preallocated, 2016-08-01 13:38:48 +00:00