]> git.puffer.fish Git - mirror/frr.git/commitdiff
isisd: Use correct boolean operator type.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 6 May 2016 23:29:36 +0000 (19:29 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 19 May 2016 14:41:59 +0000 (10:41 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
isisd/isis_lsp.c

index 3801eb737b7bad9fede691530bb358f6be47656d..6c3d7c00ffd8769a3ad59076ab63ec7326e34cee 100644 (file)
@@ -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),