]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
This warning is stupid.
authorOndrej Filip <feela@network.cz>
Sun, 6 Jun 2004 14:25:55 +0000 (14:25 +0000)
committerOndrej Filip <feela@network.cz>
Sun, 6 Jun 2004 14:25:55 +0000 (14:25 +0000)
proto/ospf/packet.c

index 4d782b8fc336eacd2102b9e4e2f2ea5f7b1196e1..714ca8064cff4fd66597657be49eec05b3037ff4 100644 (file)
@@ -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);
 }