mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 16:20:08 +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;
|
||||
debugf(NHRP_DEBUG_COMMON, "%s %s(%d) %s -> %s", dir,
|
||||
packet_types[hdr->type].name ?: "Unknown", hdr->type,
|
||||
reply ? buf[1] : buf[0], reply ? buf[0] : buf[1]);
|
||||
(packet_types[hdr->type].name ? packet_types[hdr->type].name
|
||||
: "Unknown"),
|
||||
hdr->type, reply ? buf[1] : buf[0], reply ? buf[0] : buf[1]);
|
||||
}
|
||||
|
||||
static int proto2afi(uint16_t proto)
|
||||
|
Loading…
Reference in New Issue
Block a user