OSDN Git Service

add ipsec and tunneling protocols to getprotoent-family functions
authorTimo Teräs <timo.teras@iki.fi>
Mon, 2 Jun 2014 05:16:08 +0000 (08:16 +0300)
committerRich Felker <dalias@aerifal.cx>
Mon, 2 Jun 2014 05:44:47 +0000 (01:44 -0400)
iptables and ipsec-tools among others require these to function
properly.

src/network/proto.c

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