HomeFreeBSD

routing: improve multiline debug

Description

routing: improve multiline debug

Add IF_DEBUG_LEVEL() macro to ensure all debug output preparation
is run only if the current debug level is sufficient. Consistently
use it within routing subsystem.

MFC after: 2 weeks

Details

Provenance
melifaroAuthored on Aug 29 2022, 3:14 PM
Parents
rGfe05d1dd0fdf: routing: extend nhop(9) kpi
Branches
Unknown
Tags
Unknown