mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-03-22 22:37:04 +00:00
Table: tame warnings around unused debug messages
This commit is contained in:
parent
716472957b
commit
02de88de41
@ -1151,14 +1151,18 @@ rt_notify_accepted(struct channel *c, const struct rt_export_feed *feed)
|
|||||||
|
|
||||||
/* Just a debug message for the last case */
|
/* Just a debug message for the last case */
|
||||||
else
|
else
|
||||||
|
{
|
||||||
RT_NOTIFY_DEBUG("route %u id %u is suboptimal, not checking", i, r->id);
|
RT_NOTIFY_DEBUG("route %u id %u is suboptimal, not checking", i, r->id);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Nothing to export */
|
/* Nothing to export */
|
||||||
if (!idempotent && (new_best || old_best))
|
if (!idempotent && (new_best || old_best))
|
||||||
do_rt_notify(c, feed->ni->addr, new_best, old_best);
|
do_rt_notify(c, feed->ni->addr, new_best, old_best);
|
||||||
else
|
else
|
||||||
|
{
|
||||||
RT_NOTIFY_DEBUG("nothing to export for %N", feed->ni->addr);
|
RT_NOTIFY_DEBUG("nothing to export for %N", feed->ni->addr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user