git: ipfw3: func to check if val exists in tbl

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


commit e1615a25016fc2abe3baadeb23e31b6eabd8a871
Author: Bill Yuan <bycn82 at leaf.dragonflybsd.org>
Date:   Thu Oct 1 11:12:35 2015 +0800

    ipfw3: func to check if val exists in tbl
    
    usage:
    ipfw3 table <id> test <type> <val>
    output:
    YES, <val> exists in table <id>
    NO, <val> not exists in table <id>

Summary of changes:
 sbin/ipfw3/ipfw3.c     | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sys/net/ipfw3/ip_fw3.c |  1 +
 2 files changed, 50 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e1615a25016fc2abe3baadeb23e31b6eabd8a871


-- 
DragonFly BSD source repository



More information about the Commits mailing list