add missing protocols to protoent lookup functions
authorTimo Teräs <timo.teras@iki.fi>
Tue, 5 Jan 2016 14:58:40 +0000 (16:58 +0200)
committerRich Felker <dalias@aerifal.cx>
Wed, 6 Jan 2016 19:31:32 +0000 (14:31 -0500)
src/network/proto.c

index 43aa17a42ac38e77bc238db5c79873b4c39b5d88..a42d1456e2a6ada5cc131cdb17769f73ba641ef7 100644 (file)
@@ -9,21 +9,36 @@ static const unsigned char protos[] = {
        "\001icmp\0"
        "\002igmp\0"
        "\003ggp\0"
+       "\004ipencap\0"
+       "\005st\0"
        "\006tcp\0"
+       "\008egp\0"
        "\014pup\0"
        "\021udp\0"
-       "\026idp\0"
+       "\024hmp\0"
+       "\026xns-idp\0"
+       "\033rdp\0"
+       "\035iso-tp4\0"
+       "\044xtp\0"
+       "\045ddp\0"
+       "\046idpr-cmtp\0"
        "\051ipv6\0"
        "\053ipv6-route\0"
        "\054ipv6-frag\0"
+       "\055idrp\0"
+       "\056rsvp\0"
        "\057gre\0"
        "\062esp\0"
        "\063ah\0"
+       "\071skip\0"
        "\072ipv6-icmp\0"
        "\073ipv6-nonxt\0"
        "\074ipv6-opts\0"
+       "\111rspf\0"
+       "\121vmtp\0"
        "\131ospf\0"
        "\136ipip\0"
+       "\142encap\0"
        "\147pim\0"
        "\377raw"
 };