Skip to content

Commit 8b424ae

Browse files
committed
net: Add missing default case in ICMPv4 common function
1 parent 0fcd397 commit 8b424ae

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

api/net/ip4/icmp4_common.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ namespace net {
9595
return "TIMESTAMP REPLY (14)";
9696
case Type::NO_REPLY:
9797
return "NO REPLY";
98+
default:
99+
return "UNKNOWN";
98100
};
99101
}();
100102
}

0 commit comments

Comments
 (0)