From: Donald Sharp Date: Fri, 6 May 2016 23:29:36 +0000 (-0400) Subject: isisd: Use correct boolean operator type. X-Git-Tag: frr-2.0-rc1~904 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=43691c09baea5d6e7d5218a01e94114da97b2e4e;p=mirror%2Ffrr.git isisd: Use correct boolean operator type. Signed-off-by: Donald Sharp Reviewed-by: Don Slice Reviewed-by: Daniel Walton --- diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c index 3801eb737b..6c3d7c00ff 100644 --- a/isisd/isis_lsp.c +++ b/isisd/isis_lsp.c @@ -962,7 +962,7 @@ lsp_print_detail (struct isis_lsp *lsp, struct vty *vty, char dynhost) memcpy (in6.s6_addr, ipv6_reach->prefix, PSIZE (ipv6_reach->prefix_len)); inet_ntop (AF_INET6, &in6, (char *)buff, BUFSIZ); - if ((ipv6_reach->control_info && + if ((ipv6_reach->control_info & CTRL_INFO_DISTRIBUTION) == DISTRIBUTION_INTERNAL) vty_out (vty, " Metric : %-8d IPv6-Internal : %s/%d%s", ntohl (ipv6_reach->metric),