mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
This warning is stupid.
This commit is contained in:
parent
2e10a170fe
commit
d8d553cadf
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user