1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 15:31:17 +01:00

Merge pull request #2712 from authmillenon/nettype/fix/typo

nettype: fix typo
This commit is contained in:
Martine Lenders 2015-03-29 15:12:23 +02:00
commit f192cda090

View File

@ -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: