mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2026-01-06 17:21:11 +00:00
Fix wrong comparison in cmp_print_eopt()
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
This commit is contained in:
parent
97c13582f9
commit
6d5ee98a7c
@ -155,7 +155,7 @@ static int cmp_print_eopt(FILE *fd, struct tcf_ematch_hdr *hdr, void *data,
|
||||
fprintf(fd, "u8 ");
|
||||
else if (cmp->align == TCF_EM_ALIGN_U16)
|
||||
fprintf(fd, "u16 ");
|
||||
else if (cmp->align == TCF_EM_ALIGN_U16)
|
||||
else if (cmp->align == TCF_EM_ALIGN_U32)
|
||||
fprintf(fd, "u32 ");
|
||||
|
||||
fprintf(fd, "at %d layer %d ", cmp->off, cmp->layer);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user