gnrc_ipv6_hdr: make HDR_NETTYPE dependent on nettype module
In #13994 this was introduced but overlooked here.
This commit is contained in:
parent
0e3443d006
commit
2cf5b3c185
@ -26,7 +26,7 @@ static char addr_str[IPV6_ADDR_MAX_STR_LEN];
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* For independent testing */
|
/* For independent testing */
|
||||||
#ifdef MODULE_GNRC_IPV6
|
#ifdef MODULE_GNRC_NETTYPE_IPV6
|
||||||
#define HDR_NETTYPE (GNRC_NETTYPE_IPV6)
|
#define HDR_NETTYPE (GNRC_NETTYPE_IPV6)
|
||||||
#else
|
#else
|
||||||
#define HDR_NETTYPE (GNRC_NETTYPE_UNDEF)
|
#define HDR_NETTYPE (GNRC_NETTYPE_UNDEF)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user