mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix the debugging macro. The struct ifnet isn't embedded in softc
anymore - instead we have a pointer in the softc to it. Use that instead to call if_printf(). Approved by: re
This commit is contained in:
parent
2c87a19e7a
commit
2e7d71c520
1 changed files with 1 additions and 1 deletions
|
|
@ -590,7 +590,7 @@ struct hatm_softc {
|
|||
#ifdef HATM_DEBUG
|
||||
#define DBG(SC, FL, PRINT) do { \
|
||||
if((SC)->debug & DBG_##FL) { \
|
||||
if_printf(&(SC)->ifatm.ifnet, "%s: ", __func__); \
|
||||
if_printf((SC)->ifp, "%s: ", __func__); \
|
||||
printf PRINT; \
|
||||
printf("\n"); \
|
||||
} \
|
||||
|
|
|
|||
Loading…
Reference in a new issue