summaryrefslogtreecommitdiff
path: root/proto/ospf/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/packet.c')
-rw-r--r--proto/ospf/packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index ea10fc97..ce7a6292 100644
--- a/proto/ospf/packet.c
+++ b/proto/ospf/packet.c
@@ -80,7 +80,7 @@ ospf_pkt_finalize (struct ospf_iface *ifa, struct ospf_packet *pkt)
* non generic functions.
*/
int
-ospf_rx_hook (sock * sk, int size)
+ospf_rx_hook (sock *sk, int size)
{
#ifndef IPV6
struct ospf_packet *ps;
@@ -180,7 +180,7 @@ ospf_rx_hook (sock * sk, int size)
break;
case DBDES_P:
DBG ("%s: Database description received.\n", p->name);
- ospf_dbdes_rx ((struct ospf_dbdes_packet *) ps, p, ifa, size);
+ ospf_dbdes_receive ((struct ospf_dbdes_packet *) ps, ifa, size);
break;
case LSREQ_P:
DBG ("%s: Link state request received.\n", p->name);