" geneve_opts MASKED-OPTIONS |\n"
" vxlan_opts MASKED-OPTIONS |\n"
" erspan_opts MASKED-OPTIONS |\n"
- " ip_flags IP-FLAGS | \n"
+ " ip_flags IP-FLAGS |\n"
" enc_dst_port [ port_number ] |\n"
" ct_state MASKED_CT_STATE |\n"
" ct_label MASKED_CT_LABEL |\n"
addattr_l(n, MAX_MSG, addr_type, addr, sizeof(addr));
if (slash) {
- unsigned bits;
+ unsigned int bits;
if (!get_unsigned(&bits, slash + 1, 10)) {
uint64_t mask;
ret = get_u8(&mask, slash + 1, 10);
if (ret)
goto err;
- }
- else {
+ } else {
mask = UINT8_MAX;
}
return -1;
}
continue;
- } else if (strcmp(*argv, "help") == 0) {
- explain();
- return -1;
} else {
- fprintf(stderr, "What is \"%s\"?\n", *argv);
+ if (strcmp(*argv, "help") != 0)
+ fprintf(stderr, "What is \"%s\"?\n", *argv);
explain();
return -1;
}
bits++;
} else if (bits) {
hole = true;
- } else{
+ } else {
return -1;
}
}
print_uint(PRINT_ANY, "in_hw_count",
" in_hw_count %u", count);
}
- }
- else if (flags & TCA_CLS_FLAGS_NOT_IN_HW) {
+ } else if (flags & TCA_CLS_FLAGS_NOT_IN_HW) {
print_nl();
print_bool(PRINT_ANY, "not_in_hw", " not_in_hw", true);
}