/* lsp is_type check */
if ((hdr.lsp_bits & IS_LEVEL_1) != IS_LEVEL_1) {
zlog_debug(
- "ISIS-Upd (%s): LSP %s invalid LSP is type 0x%hhx",
+ "ISIS-Upd (%s): LSP %s invalid LSP is type 0x%x",
circuit->area->area_tag, rawlspid_print(hdr.lsp_id),
hdr.lsp_bits & IS_LEVEL_1_AND_2);
/* continue as per RFC1122 Be liberal in what you accept, and
subtlv_type = stream_getc(s);
subtlv_len = stream_getc(s);
if (subtlv_len > len - sum) {
- sbuf_push(log, indent, "TLV %hhu: Available data %hhu is less than TLV size %u !\n",
+ sbuf_push(log, indent, "TLV %hhu: Available data %u is less than TLV size %u !\n",
subtlv_type, len - sum, subtlv_len);
return 1;
}
rv->len = stream_getc(s);
if (len < 1 + rv->len) {
- sbuf_push(log, indent, "Not enough data left. (Expected %hhu bytes of address, got %hhu)\n",
+ sbuf_push(log, indent, "Not enough data left. (Expected %hhu bytes of address, got %u)\n",
rv->len, len - 1);
goto out;
}
if ((size_t)len < ((size_t)11) + subtlv_len) {
sbuf_push(log, indent,
- "Not enough data left for subtlv size %hhu, there are only %hhu bytes left.\n",
+ "Not enough data left for subtlv size %hhu, there are only %u bytes left.\n",
subtlv_len, len - 11);
goto out;
}