Parcourir la source

add ipsec and tunneling protocols to getprotoent-family functions

iptables and ipsec-tools among others require these to function
properly.
Timo Teräs il y a 10 ans
Parent
commit
1871f583f4
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      src/network/proto.c

+ 4 - 0
src/network/proto.c

@@ -14,7 +14,11 @@ static const unsigned char protos[][8] = {
 	"\021udp",
 	"\021udp",
 	"\026idp",
 	"\026idp",
 	"\051ipv6",
 	"\051ipv6",
+	"\057gre",
+	"\062esp",
+	"\063ah",
 	"\072icmpv6",
 	"\072icmpv6",
+	"\136ipip",
 	"\377raw",
 	"\377raw",
 	"\0\0"
 	"\0\0"
 };
 };