diff options
author | paul <paul> | 2003-06-30 22:46:14 +0000 |
---|---|---|
committer | paul <paul> | 2003-06-30 22:46:14 +0000 |
commit | 0edad977f9ecf32347326811c5d72d39a2a13e6c (patch) | |
tree | da9e0d363454f4890ced36c7c7c3b32ba36bf4a4 | |
parent | ac7e1a22002f69f36ef6e0f8a5355f8bc0de42d0 (diff) | |
download | quagga-0edad977f9ecf32347326811c5d72d39a2a13e6c.tar.bz2 quagga-0edad977f9ecf32347326811c5d72d39a2a13e6c.tar.xz |
2003-06-30 Paul Jakma <paul@dishone.st>
* (show_ip_ospf_database_header) Fix unconditional NSSA-dependent
printf.
-rw-r--r-- | ospfd/ospf_vty.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 392b7ae0..2cce373f 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) |