add routing protocols to getprotoent-family functions
authorTimo Teräs <timo.teras@iki.fi>
Tue, 24 Jun 2014 10:06:38 +0000 (13:06 +0300)
committerRich Felker <dalias@aerifal.cx>
Tue, 24 Jun 2014 21:39:31 +0000 (17:39 -0400)
iptables and quagga need them to work.

src/network/proto.c

index 1b51e1563ad9aa001037704ed278207c520152fd..46ecca892bd2c553e2d2fb7ee42e323f1e92a8f2 100644 (file)
@@ -18,7 +18,9 @@ static const unsigned char protos[][8] = {
        "\062esp",
        "\063ah",
        "\072icmpv6",
+       "\131ospf",
        "\136ipip",
+       "\147pim",
        "\377raw",
        "\0\0"
 };