]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Only flush rules that have a rule number above that set by a new
authorpaul <paul@FreeBSD.org>
Wed, 21 Mar 2001 08:19:31 +0000 (08:19 +0000)
committerpaul <paul@FreeBSD.org>
Wed, 21 Mar 2001 08:19:31 +0000 (08:19 +0000)
commit217aacd05929f24fd65fb934002d71c1f4258754
treefc1eae9b6162ccc0084e61968bf7aa06c0106bb9
parent69603157dedb4757ce880ddfc5157558441cf985
Only flush rules that have a rule number above that set by a new
sysctl, net.inet.ip.fw.permanent_rules.

This allows you to install rules that are persistent across flushes,
which is very useful if you want a default set of rules that
maintains your access to remote machines while you're reconfiguring
the other rules.

Reviewed by: Mark Murray <markm@FreeBSD.org>
sys/netinet/ip_fw.c