mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 09:30:30 +00:00
2003-06-30 Paul Jakma <paul@dishone.st>
* (show_ip_ospf_database_header) Fix unconditional NSSA-dependent printf.
This commit is contained in:
parent
93fe5c5bed
commit
9d5260374a
@ -3220,7 +3220,11 @@ show_ip_ospf_database_header (struct vty *vty, struct ospf_lsa *lsa)
|
|||||||
VTY_NEWLINE);
|
VTY_NEWLINE);
|
||||||
vty_out (vty, " LS Flags: 0x%-2x %s%s",
|
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)" : ""),
|
((lsa->flags & OSPF_LSA_LOCAL_XLT) ? "(Translated from Type-7)" : ""),
|
||||||
|
#else
|
||||||
|
"",
|
||||||
|
#endif /* HAVE_NSSA */
|
||||||
VTY_NEWLINE);
|
VTY_NEWLINE);
|
||||||
|
|
||||||
if (lsa->data->type == OSPF_ROUTER_LSA)
|
if (lsa->data->type == OSPF_ROUTER_LSA)
|
||||||
|
Loading…
Reference in New Issue
Block a user