if (new_down == old_down) {
if (IS_ZEBRA_DEBUG_KERNEL)
zlog_debug(
- "Ignoring %s (%u): protodown %s already set reason: old 0x%x new 0x%x",
- ifp->name, ifp->ifindex,
- new_down ? "on" : "off",
+ "Ignoring request to set protodown %s for interface %s (%u): protodown %s is already set (reason bitfield: old 0x%x new 0x%x)",
+ new_down ? "on" : "off", ifp->name,
+ ifp->ifindex, new_down ? "on" : "off",
zif->protodown_rc, new_protodown_rc);
return true;
if (new_down && old_set_down) {
if (IS_ZEBRA_DEBUG_KERNEL)
zlog_debug(
- "Ignoring %s (%u): protodown %s queued to dplane already reason: old 0x%x new 0x%x",
- ifp->name, ifp->ifindex,
- new_down ? "on" : "off",
+ "Ignoring request to set protodown %s for interface %s (%u): protodown %s is already queued to dplane (reason bitfield: old 0x%x new 0x%x)",
+ new_down ? "on" : "off", ifp->name,
+ ifp->ifindex, new_down ? "on" : "off",
zif->protodown_rc, new_protodown_rc);
return true;
if (!new_down && old_unset_down) {
if (IS_ZEBRA_DEBUG_KERNEL)
zlog_debug(
- "Ignoring %s (%u): protodown %s queued to dplane already reason: old 0x%x new 0x%x",
- ifp->name, ifp->ifindex,
- new_down ? "on" : "off",
+ "Ignoring request to set protodown %s for interface %s (%u): protodown %s is already queued to dplane (reason bitfield: old 0x%x new 0x%x)",
+ new_down ? "on" : "off", ifp->name,
+ ifp->ifindex, new_down ? "on" : "off",
zif->protodown_rc, new_protodown_rc);
return true;
return 1;
zlog_info(
- "Setting interface %s (%u): protodown %s reason: old 0x%x new 0x%x",
- ifp->name, ifp->ifindex, new_down ? "on" : "off",
+ "Setting protodown %s - interface %s (%u): reason bitfield change from 0x%x --> 0x%x",
+ new_down ? "on" : "off", ifp->name, ifp->ifindex,
zif->protodown_rc, new_protodown_rc);
zif->protodown_rc = new_protodown_rc;