git: ipfw3: shorten func show_filter and MACRO

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Oct 6 11:10:04 PDT 2015


commit 3b6ebdc3129ecf13bf221b96b809ef5cc598fa7f
Author: Bill Yuan <bycn82 at leaf.dragonflybsd.org>
Date:   Thu Oct 1 14:32:35 2015 +0800

    ipfw3: shorten func show_filter and MACRO

Summary of changes:
 lib/libipfw3/basic/ipfw3_basic.c       | 68 +++++++++----------------
 lib/libipfw3/dummynet/ipfw3_dummynet.c |  4 +-
 lib/libipfw3/layer2/ipfw3_layer2.c     |  4 +-
 lib/libipfw3/layer4/ipfw3_layer4.c     | 10 ++--
 lib/libipfw3/nat/ipfw3_nat.c           |  2 +-
 sbin/ipfw3/ipfw3.c                     | 92 +++++++++++++++-------------------
 sys/net/ipfw3/ip_fw3.h                 | 21 +++++---
 7 files changed, 89 insertions(+), 112 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3b6ebdc3129ecf13bf221b96b809ef5cc598fa7f


-- 
DragonFly BSD source repository



More information about the Commits mailing list