summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-06 16:25:55 +0200
committerOndrej Filip <feela@network.cz>2004-06-06 16:25:55 +0200
commitd8d553cadfecab2a2f3d8a69624b5a743bd97ce3 (patch)
tree7a21a71e4dfba285ace0876b8515e15d9c788f4f /proto
parent2e10a170fe70e405b5d6cb2cb53cd9a15de25b73 (diff)
downloadbird-d8d553cadfecab2a2f3d8a69624b5a743bd97ce3.tar
bird-d8d553cadfecab2a2f3d8a69624b5a743bd97ce3.zip
This warning is stupid.
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/packet.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index 4d782b8..714ca80 100644
--- a/proto/ospf/packet.c
+++ b/proto/ospf/packet.c
@@ -81,7 +81,6 @@ ospf_pkt_finalize(struct ospf_iface *ifa, struct ospf_packet *pkt)
int
ospf_rx_hook(sock * sk, int size)
{
-#ifndef IPV6
struct ospf_packet *ps;
struct ospf_iface *ifa = (struct ospf_iface *) (sk->data);
struct proto *p = (struct proto *) (ifa->proto);
@@ -190,9 +189,6 @@ ospf_rx_hook(sock * sk, int size)
log("%s: Discarding\n", p->name);
return (1);
};
-#else
-#error RX_Hook does not work for IPv6 now.
-#endif
return (1);
}