summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2012-01-20 22:32:10 +0400
committerDavid Lamparter <equinox@diac24.net>2012-03-12 11:05:11 +0100
commit7e0e2cb14ca16ce9eaca3b0300c1ffa92a6a104b (patch)
tree1327873f183d26d4a329f1a135fb414e9163975d
parent272ca1e33016b1cbf9c72038d5e631b0adb04dc9 (diff)
ospfd: fix ospf_packet_add_top() to use LOOKUP()
-rw-r--r--ospfd/ospf_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index a8102da4..876320ee 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -223,7 +223,7 @@ ospf_packet_add_top (struct ospf_interface *oi, struct ospf_packet *op)
"destination %s) called with NULL obuf, ignoring "
"(please report this bug)!\n",
IF_NAME(oi), oi->state, LOOKUP (ospf_ism_state_msg, oi->state),
- ospf_packet_type_str[stream_getc_from(op->s, 1)],
+ LOOKUP (ospf_packet_type_str, stream_getc_from(op->s, 1)),
inet_ntoa (op->dst));
return;
}