mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pktdump: fix mishap in ip version header dump
This commit is contained in:
parent
6099d82d09
commit
a8c55ff844
@ -67,7 +67,7 @@ static void _dump_ipv6_hdr(ng_ipv6_hdr_t *hdr)
|
||||
{
|
||||
char addr_str[NG_IPV6_ADDR_MAX_STR_LEN];
|
||||
|
||||
if (ng_ipv6_hdr_is_ipv6_hdr(hdr)) {
|
||||
if (!ng_ipv6_hdr_is_ipv6_hdr(hdr)) {
|
||||
printf("illegal version field: %" PRIu8 "\n", ng_ipv6_hdr_get_version(hdr));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user