소스 검색

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"
 };