git: ipfw3: join same filters with or operator
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jun 29 11:16:38 PDT 2015
commit 6ce8c93fe91277ccb638662f2c0d270047e04c0f
Author: Bill Yuan <bycn82 at leaf.dragonflybsd.org>
Date: Sun Jun 28 18:30:43 2015 +0800
ipfw3: join same filters with or operator
example:
ipfw3 add allow icmp to <ip addr 1> or <ip addr 2> ...
Summary of changes:
lib/libipfw3/basic/ipfw3_basic.c | 73 ++++++----
lib/libipfw3/dummynet/ipfw3_dummynet.c | 4 +-
lib/libipfw3/layer2/ipfw3_layer2.c | 4 +-
lib/libipfw3/layer4/ipfw3_layer4.c | 13 +-
lib/libipfw3/nat/ipfw3_nat.c | 2 +-
sbin/ipfw3/ipfw.h | 2 +-
sbin/ipfw3/ipfw3.c | 246 ++++++++++++++++-----------------
sys/net/ipfw3/ip_fw3.c | 69 +++++++--
8 files changed, 239 insertions(+), 174 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6ce8c93fe91277ccb638662f2c0d270047e04c0f
--
DragonFly BSD source repository
More information about the Commits
mailing list