add ipsec and tunneling protocols to getprotoent-family functions

iptables and ipsec-tools among others require these to function
properly.
This commit is contained in:
Timo Teräs 2014-06-02 08:16:08 +03:00 committed by Rich Felker
parent bb9af59bba
commit 1871f583f4

View file

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