mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 09:52:27 +00:00
isisd: Use correct boolean operator type.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
parent
040064c8ab
commit
43691c09ba
@ -962,7 +962,7 @@ lsp_print_detail (struct isis_lsp *lsp, struct vty *vty, char dynhost)
|
|||||||
memcpy (in6.s6_addr, ipv6_reach->prefix,
|
memcpy (in6.s6_addr, ipv6_reach->prefix,
|
||||||
PSIZE (ipv6_reach->prefix_len));
|
PSIZE (ipv6_reach->prefix_len));
|
||||||
inet_ntop (AF_INET6, &in6, (char *)buff, BUFSIZ);
|
inet_ntop (AF_INET6, &in6, (char *)buff, BUFSIZ);
|
||||||
if ((ipv6_reach->control_info &&
|
if ((ipv6_reach->control_info &
|
||||||
CTRL_INFO_DISTRIBUTION) == DISTRIBUTION_INTERNAL)
|
CTRL_INFO_DISTRIBUTION) == DISTRIBUTION_INTERNAL)
|
||||||
vty_out (vty, " Metric : %-8d IPv6-Internal : %s/%d%s",
|
vty_out (vty, " Metric : %-8d IPv6-Internal : %s/%d%s",
|
||||||
ntohl (ipv6_reach->metric),
|
ntohl (ipv6_reach->metric),
|
||||||
|
Loading…
Reference in New Issue
Block a user