summaryrefslogtreecommitdiffstats
path: root/proto/ospf/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/packet.c')
-rw-r--r--proto/ospf/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index e3a3115..200ef95 100644
--- a/proto/ospf/packet.c
+++ b/proto/ospf/packet.c
@@ -278,7 +278,7 @@ ospf_rx_hook(sock * sk, int size)
if (ifa->stub)
return (1);
- ps = (struct ospf_packet *) ipv4_skip_header(sk->rbuf, &size);
+ ps = (struct ospf_packet *) ip_skip_header(sk->rbuf, &size);
if (ps == NULL)
{