From: paul Date: Mon, 30 Jun 2003 22:46:14 +0000 (+0000) Subject: 2003-06-30 Paul Jakma X-Git-Tag: frr-2.0-rc1~3963 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=9d5260374afc19e31eab72b9d1550e8b57c57dbe;p=mirror%2Ffrr.git 2003-06-30 Paul Jakma * (show_ip_ospf_database_header) Fix unconditional NSSA-dependent printf. --- diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 392b7ae008..2cce373f4a 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -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)