summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-06-02 08:16:08 +0300
committerRich Felker <dalias@aerifal.cx>2014-06-02 01:44:47 -0400
commit1871f583f419f58bbcd921cda41c991994672c8a (patch)
tree33fb79161f79cd99fda569029962e62adbef8f52
parentbb9af59bba5b72b90c38d28809c30b31933c64d5 (diff)
downloadmusl-1871f583f419f58bbcd921cda41c991994672c8a.tar.gz
add ipsec and tunneling protocols to getprotoent-family functions
iptables and ipsec-tools among others require these to function properly.
-rw-r--r--src/network/proto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/proto.c b/src/network/proto.c
index 3d0f584f..1b51e156 100644
--- a/src/network/proto.c
+++ b/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"
};