]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: fix ospf_packet_add_top() to use LOOKUP()
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 20 Jan 2012 18:32:10 +0000 (22:32 +0400)
committerDavid Lamparter <equinox@diac24.net>
Mon, 12 Mar 2012 10:05:11 +0000 (11:05 +0100)
ospfd/ospf_packet.c

index a8102da42e1f40f61cec9f883e93ad23723406c7..876320ee8cb45b4d0631f13c177aca09c4b141dc 100644 (file)
@@ -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;
     }