From cbe9aa69391fc8c61cb3830f8bc91d09582081f2 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 25 Mar 2015 05:03:27 +0100 Subject: [PATCH] nettype: fix typo --- sys/include/net/ng_nettype.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/include/net/ng_nettype.h b/sys/include/net/ng_nettype.h index 798f6905a1..96513f1f25 100644 --- a/sys/include/net/ng_nettype.h +++ b/sys/include/net/ng_nettype.h @@ -145,7 +145,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: @@ -180,7 +180,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: