oops, mismerge from working sources.. not only add new code,
but remove old code!
This commit is contained in:
parent
21899082ae
commit
4f6ac14677
@ -4826,8 +4826,6 @@ table_handler(int ac, char *av[])
|
||||
&ent, sizeof(ent)) < 0)
|
||||
err(EX_OSERR,
|
||||
"setsockopt(IP_FW_TABLE_ADD)");
|
||||
err(EX_OSERR, "setsockopt(IP_FW_TABLE_%s)",
|
||||
do_add ? "ADD" : "DEL");
|
||||
} else if (_substrcmp(*av, "flush") == 0) {
|
||||
if (do_cmd(IP_FW_TABLE_FLUSH, &ent.tbl, sizeof(ent.tbl)) < 0)
|
||||
err(EX_OSERR, "setsockopt(IP_FW_TABLE_FLUSH)");
|
||||
|
Loading…
Reference in New Issue
Block a user