]> git.puffer.fish Git - mirror/frr.git/commitdiff
2003-06-30 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Mon, 30 Jun 2003 22:46:14 +0000 (22:46 +0000)
committerpaul <paul>
Mon, 30 Jun 2003 22:46:14 +0000 (22:46 +0000)
* (show_ip_ospf_database_header) Fix unconditional NSSA-dependent
          printf.

ospfd/ospf_vty.c

index 392b7ae00801868e9f6a29a4b9973a0f192846ff..2cce373f4afbb82c2aa8a09afd2c70d33a8b1526 100644 (file)
@@ -3219,8 +3219,12 @@ show_ip_ospf_database_header (struct vty *vty, struct ospf_lsa *lsa)
            ospf_options_dump(lsa->data->options), 
            VTY_NEWLINE);
   vty_out (vty, "  LS Flags: 0x%-2x %s%s",
-           lsa->flags, 
+           lsa->flags,
+#ifdef HAVE_NSSA
            ((lsa->flags & OSPF_LSA_LOCAL_XLT) ? "(Translated from Type-7)" : ""),
+#else
+           "",
+#endif /* HAVE_NSSA */
            VTY_NEWLINE);
 
   if (lsa->data->type == OSPF_ROUTER_LSA)