- if(debug_lvl >= DEBUG_TRAFFIC) {
- syslog(LOG_WARNING, _("Cannot route packet: neighbor solicitation request for unknown address %hx:%hx:%hx:%hx:%hx:%hx:%hx:%hx"),
- ntohs(((uint16_t *) & ns->nd_ns_target)[0]),
- ntohs(((uint16_t *) & ns->nd_ns_target)[1]),
- ntohs(((uint16_t *) & ns->nd_ns_target)[2]),
- ntohs(((uint16_t *) & ns->nd_ns_target)[3]),
- ntohs(((uint16_t *) & ns->nd_ns_target)[4]),
- ntohs(((uint16_t *) & ns->nd_ns_target)[5]),
- ntohs(((uint16_t *) & ns->nd_ns_target)[6]),
- ntohs(((uint16_t *) & ns->nd_ns_target)[7]));
- }
+ ifdebug(TRAFFIC) logger(LOG_WARNING, _("Cannot route packet: neighbor solicitation request for unknown address %hx:%hx:%hx:%hx:%hx:%hx:%hx:%hx"),
+ ntohs(((uint16_t *) &ns->nd_ns_target)[0]),
+ ntohs(((uint16_t *) &ns->nd_ns_target)[1]),
+ ntohs(((uint16_t *) &ns->nd_ns_target)[2]),
+ ntohs(((uint16_t *) &ns->nd_ns_target)[3]),
+ ntohs(((uint16_t *) &ns->nd_ns_target)[4]),
+ ntohs(((uint16_t *) &ns->nd_ns_target)[5]),
+ ntohs(((uint16_t *) &ns->nd_ns_target)[6]),
+ ntohs(((uint16_t *) &ns->nd_ns_target)[7]));