gnrc_ipv6_hdr: make HDR_NETTYPE dependent on nettype module

In #13994 this was introduced but overlooked here.
This commit is contained in:
Martine S. Lenders 2020-09-01 16:44:44 +02:00
parent 0e3443d006
commit 2cf5b3c185
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -26,7 +26,7 @@ static char addr_str[IPV6_ADDR_MAX_STR_LEN];
#endif
/* For independent testing */
#ifdef MODULE_GNRC_IPV6
#ifdef MODULE_GNRC_NETTYPE_IPV6
#define HDR_NETTYPE (GNRC_NETTYPE_IPV6)
#else
#define HDR_NETTYPE (GNRC_NETTYPE_UNDEF)