Missing argument in MTU change trace message can crash bird when MTU
change happens and trace messages are active.
Thanks to Alexander Velkov for the bugreport.
if (!ipa_equal(faddr, n->ip))
{
OSPF_TRACE(D_EVENTS, "Neighbor %R on %s changed IP address to %I",
- n->rid, ifa->ifname, n->ip, faddr);
+ n->rid, ifa->ifname, faddr);
n->ip = faddr;
}
}
{
/* ifa is not vlink */
- OSPF_TRACE(D_EVENTS, "Interface %s changed MTU to %d", ifa->iface->mtu);
+ OSPF_TRACE(D_EVENTS, "Interface %s changed MTU to %d",
+ ifa->ifname, ifa->iface->mtu);
ifa->tx_length = ifa_tx_length(ifa);