summaryrefslogtreecommitdiffstats
path: root/proto/ospf/packet.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-03 03:29:00 +0200
committerOndrej Filip <feela@network.cz>2000-06-03 03:29:00 +0200
commit89d6782dd1a7775a292db3b2b622c8a48dbd757c (patch)
tree5f5c0a7bc59c95289b3bda941ad3dab78abfe329 /proto/ospf/packet.c
parentb36a0a799c751864f65bc3384df301448b54f3bf (diff)
downloadbird-89d6782dd1a7775a292db3b2b622c8a48dbd757c.tar
bird-89d6782dd1a7775a292db3b2b622c8a48dbd757c.zip
interface {} added.
Diffstat (limited to 'proto/ospf/packet.c')
-rw-r--r--proto/ospf/packet.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index 67db361..fc60a42 100644
--- a/proto/ospf/packet.c
+++ b/proto/ospf/packet.c
@@ -127,23 +127,23 @@ ospf_rx_hook(sock *sk, int size)
switch(ps->type)
{
- case HELLO:
+ case HELLO_P:
DBG("%s: Hello received.\n", p->name);
ospf_hello_rx((struct ospf_hello_packet *)ps, p, ifa, size, sk->faddr);
break;
- case DBDES:
+ case DBDES_P:
DBG("%s: Database description received.\n", p->name);
ospf_dbdes_rx((struct ospf_dbdes_packet *)ps, p, ifa, size);
break;
- case LSREQ:
+ case LSREQ_P:
DBG("%s: Link state request received.\n", p->name);
ospf_lsreq_rx((struct ospf_lsreq_packet *)ps, p, ifa, size);
break;
- case LSUPD:
+ case LSUPD_P:
DBG("%s: Link state update received.\n", p->name);
ospf_lsupd_rx((struct ospf_lsupd_packet *)ps, p, ifa, size);
break;
- case LSACK:
+ case LSACK_P:
DBG("%s: Link state ack received.\n", p->name);
ospf_lsack_rx((struct ospf_lsack_packet *)ps, p, ifa, size);
break;