Index: dummynet.c =================================================================== --- dummynet.c +++ dummynet.c @@ -56,7 +56,9 @@ { "noerror", TOK_NOERROR }, { "buckets", TOK_BUCKETS }, { "dst-ip", TOK_DSTIP }, + { "dst-ip4", TOK_DSTIP }, { "src-ip", TOK_SRCIP }, + { "src-ip4", TOK_SRCIP }, { "dst-port", TOK_DSTPORT }, { "src-port", TOK_SRCPORT }, { "proto", TOK_PROTO }, Index: ipfw.8 =================================================================== --- ipfw.8 +++ ipfw.8 @@ -1549,7 +1549,7 @@ .It Cm diverted-output Matches only packets going from a divert socket back outward to the IP stack output for delivery. -.It Cm dst-ip Ar ip-address +.It Bro Cm dst-ip | dst-ip4 Brc Ar ip-address Matches IPv4 packets whose destination IP is one of the address(es) specified as argument. .It Bro Cm dst-ip6 | dst-ipv6 Brc Ar ip6-address @@ -1937,10 +1937,10 @@ or .Cm pipe number. -.It Cm src-ip Ar ip-address +.It Bro Cm src-ip | src-ip4 Brc Ar ip-address Matches IPv4 packets whose source IP is one of the address(es) specified as an argument. -.It Cm src-ip6 Ar ip6-address +.It Bro Cm src-ip6 | src-ipv6 Brc Ar ip-address Matches IPv6 packets whose source IP is one of the address(es) specified as an argument. .It Cm src-port Ar ports Index: ipfw2.c =================================================================== --- ipfw2.c +++ ipfw2.c @@ -347,7 +347,9 @@ { "icmptype", TOK_ICMPTYPES }, { "icmptypes", TOK_ICMPTYPES }, { "dst-ip", TOK_DSTIP }, + { "dst-ip4", TOK_DSTIP }, { "src-ip", TOK_SRCIP }, + { "src-ip4", TOK_SRCIP }, { "dst-port", TOK_DSTPORT }, { "src-port", TOK_SRCPORT }, { "proto", TOK_PROTO },