mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 11:18:52 +00:00
ospfd: fix ospf_packet_add_top() to use LOOKUP()
This commit is contained in:
parent
272ca1e330
commit
7e0e2cb14c
@ -223,7 +223,7 @@ ospf_packet_add_top (struct ospf_interface *oi, struct ospf_packet *op)
|
|||||||
"destination %s) called with NULL obuf, ignoring "
|
"destination %s) called with NULL obuf, ignoring "
|
||||||
"(please report this bug)!\n",
|
"(please report this bug)!\n",
|
||||||
IF_NAME(oi), oi->state, LOOKUP (ospf_ism_state_msg, oi->state),
|
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));
|
inet_ntoa (op->dst));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user