浏览代码

add ipsec and tunneling protocols to getprotoent-family functions

iptables and ipsec-tools among others require these to function
properly.
Timo Teräs 11 年之前
父节点
当前提交
1871f583f4
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/network/proto.c

+ 4 - 0
src/network/proto.c

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