Commit d8d553ca authored by Ondřej Filip's avatar Ondřej Filip
Browse files

This warning is stupid.

parent 2e10a170
...@@ -81,7 +81,6 @@ ospf_pkt_finalize(struct ospf_iface *ifa, struct ospf_packet *pkt) ...@@ -81,7 +81,6 @@ ospf_pkt_finalize(struct ospf_iface *ifa, struct ospf_packet *pkt)
int int
ospf_rx_hook(sock * sk, int size) ospf_rx_hook(sock * sk, int size)
{ {
#ifndef IPV6
struct ospf_packet *ps; struct ospf_packet *ps;
struct ospf_iface *ifa = (struct ospf_iface *) (sk->data); struct ospf_iface *ifa = (struct ospf_iface *) (sk->data);
struct proto *p = (struct proto *) (ifa->proto); struct proto *p = (struct proto *) (ifa->proto);
...@@ -190,9 +189,6 @@ ospf_rx_hook(sock * sk, int size) ...@@ -190,9 +189,6 @@ ospf_rx_hook(sock * sk, int size)
log("%s: Discarding\n", p->name); log("%s: Discarding\n", p->name);
return (1); return (1);
}; };
#else
#error RX_Hook does not work for IPv6 now.
#endif
return (1); return (1);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment