net: Add fallback macro for nef_if_mon functions
Add empty macro for net_if_mon functions if they are not otherwise defined, like the other functions in the net_if.c file have. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
7c87ff315e
commit
e4cca5145b
|
@ -1001,6 +1001,10 @@ void net_if_mcast_monitor(struct net_if *iface,
|
|||
|
||||
k_mutex_unlock(&lock);
|
||||
}
|
||||
#else
|
||||
#define net_if_mcast_mon_register(...)
|
||||
#define net_if_mcast_mon_unregister(...)
|
||||
#define net_if_mcast_monitor(...)
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_NET_NATIVE_IPV6)
|
||||
|
|
Loading…
Reference in a new issue