- Recognize gre, gif, esp protocols

PR:		ports/69654
Submitted by:	Ilya V. Guy <ilya@lisgroup.net>
Approved by:	maintainer
This commit is contained in:
Pav Lucistnik 2004-07-30 16:27:01 +00:00
parent 28dfde096c
commit 827124c394
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115089
6 changed files with 45 additions and 21 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= trafshow
PORTVERSION= 3.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ftp://ftp.sasknow.com/pub/trafshow/ \
ftp://ftp.nsk.su/pub/RinetSoftware/

View File

@ -1,12 +1,20 @@
--- util.c.orig Fri Sep 15 06:51:11 2000
+++ util.c Thu Sep 21 14:35:33 2000
@@ -129,6 +129,9 @@
--- util.c.orig Thu Sep 25 06:37:57 1997
+++ util.c Fri Jul 30 18:20:20 2004
@@ -123,11 +123,17 @@
{ "egp", IPPROTO_EGP },
{ "ospf", IPPROTO_OSPF },
{ "igmp", IPPROTO_IGMP },
+ { "gre", IPPROTO_GRE },
+ { "gif", IPPROTO_IPIP },
+ { "esp", IPPROTO_ESP },
#ifdef IPPROTO_GGP
{ "ggp", IPPROTO_GGP },
#endif
#ifdef IPPROTO_ENCAP
{ "encap",IPPROTO_ENCAP},
#endif
+#endif
+#ifdef IPPROTO_IPV6
+ { "ipv6", IPPROTO_IPV6},
+#endif
#endif
{ "ip", IPPROTO_IP },
{ "raw", IPPROTO_RAW },
{ NULL, -1 },

View File

@ -7,7 +7,7 @@
PORTNAME= trafshow
PORTVERSION= 3.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ftp://ftp.sasknow.com/pub/trafshow/ \
ftp://ftp.nsk.su/pub/RinetSoftware/

View File

@ -1,12 +1,20 @@
--- util.c.orig Fri Sep 15 06:51:11 2000
+++ util.c Thu Sep 21 14:35:33 2000
@@ -129,6 +129,9 @@
--- util.c.orig Thu Sep 25 06:37:57 1997
+++ util.c Fri Jul 30 18:20:20 2004
@@ -123,11 +123,17 @@
{ "egp", IPPROTO_EGP },
{ "ospf", IPPROTO_OSPF },
{ "igmp", IPPROTO_IGMP },
+ { "gre", IPPROTO_GRE },
+ { "gif", IPPROTO_IPIP },
+ { "esp", IPPROTO_ESP },
#ifdef IPPROTO_GGP
{ "ggp", IPPROTO_GGP },
#endif
#ifdef IPPROTO_ENCAP
{ "encap",IPPROTO_ENCAP},
#endif
+#endif
+#ifdef IPPROTO_IPV6
+ { "ipv6", IPPROTO_IPV6},
+#endif
#endif
{ "ip", IPPROTO_IP },
{ "raw", IPPROTO_RAW },
{ NULL, -1 },

View File

@ -7,7 +7,7 @@
PORTNAME= trafshow
PORTVERSION= 3.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= ftp://ftp.sasknow.com/pub/trafshow/ \
ftp://ftp.nsk.su/pub/RinetSoftware/

View File

@ -1,12 +1,20 @@
--- util.c.orig Fri Sep 15 06:51:11 2000
+++ util.c Thu Sep 21 14:35:33 2000
@@ -129,6 +129,9 @@
--- util.c.orig Thu Sep 25 06:37:57 1997
+++ util.c Fri Jul 30 18:20:20 2004
@@ -123,11 +123,17 @@
{ "egp", IPPROTO_EGP },
{ "ospf", IPPROTO_OSPF },
{ "igmp", IPPROTO_IGMP },
+ { "gre", IPPROTO_GRE },
+ { "gif", IPPROTO_IPIP },
+ { "esp", IPPROTO_ESP },
#ifdef IPPROTO_GGP
{ "ggp", IPPROTO_GGP },
#endif
#ifdef IPPROTO_ENCAP
{ "encap",IPPROTO_ENCAP},
#endif
+#endif
+#ifdef IPPROTO_IPV6
+ { "ipv6", IPPROTO_IPV6},
+#endif
#endif
{ "ip", IPPROTO_IP },
{ "raw", IPPROTO_RAW },
{ NULL, -1 },