mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 11:18:52 +00:00
Merge pull request #3013 from pacovn/static_analysis__conditional_omitted_operand1
nhrpd: missing operand added
This commit is contained in:
commit
f2e946e681
@ -814,8 +814,9 @@ static void nhrp_packet_debug(struct zbuf *zb, const char *dir)
|
|||||||
|
|
||||||
reply = packet_types[hdr->type].type == PACKET_REPLY;
|
reply = packet_types[hdr->type].type == PACKET_REPLY;
|
||||||
debugf(NHRP_DEBUG_COMMON, "%s %s(%d) %s -> %s", dir,
|
debugf(NHRP_DEBUG_COMMON, "%s %s(%d) %s -> %s", dir,
|
||||||
packet_types[hdr->type].name ?: "Unknown", hdr->type,
|
(packet_types[hdr->type].name ? packet_types[hdr->type].name
|
||||||
reply ? buf[1] : buf[0], reply ? buf[0] : buf[1]);
|
: "Unknown"),
|
||||||
|
hdr->type, reply ? buf[1] : buf[0], reply ? buf[0] : buf[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int proto2afi(uint16_t proto)
|
static int proto2afi(uint16_t proto)
|
||||||
|
Loading…
Reference in New Issue
Block a user