diff --git a/sys/include/net/ng_nettype.h b/sys/include/net/ng_nettype.h index 6fb71701cf..ab26297879 100644 --- a/sys/include/net/ng_nettype.h +++ b/sys/include/net/ng_nettype.h @@ -150,7 +150,7 @@ static inline ng_nettype_t ng_nettype_from_protnum(uint8_t num) switch (num) { #ifdef MODULE_NG_ICMPV6 case NG_PROTNUM_ICMPV6: - return NG_NETTYPE_IPCMPV6; + return NG_NETTYPE_ICMPV6; #endif #ifdef MODULE_NG_IPV6 case NG_PROTNUM_IPV6: @@ -185,7 +185,7 @@ static inline uint8_t ng_nettype_to_protnum(ng_nettype_t type) switch (type) { #ifdef MODULE_NG_ICMPV6 case NG_NETTYPE_ICMPV6: - return NG_PROTNUM_IPCMPV6; + return NG_PROTNUM_ICMPV6; #endif #ifdef MODULE_NG_IPV6 case NG_NETTYPE_IPV6: