mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 18:04:03 +00:00
Add tests for debug enabled to PtMP LSA creation functions
This commit is contained in:
parent
020709f993
commit
1cc8f7624c
@ -615,6 +615,7 @@ lsa_link_ptomp_set (struct stream *s, struct ospf_interface *oi)
|
|||||||
link_info_set (s, id, mask, LSA_LINK_TYPE_STUB, 0, 0);
|
link_info_set (s, id, mask, LSA_LINK_TYPE_STUB, 0, 0);
|
||||||
links++;
|
links++;
|
||||||
|
|
||||||
|
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
|
||||||
zlog_info ("PointToMultipoint: running ptomultip_set");
|
zlog_info ("PointToMultipoint: running ptomultip_set");
|
||||||
|
|
||||||
/* Search neighbor, */
|
/* Search neighbor, */
|
||||||
@ -628,6 +629,7 @@ lsa_link_ptomp_set (struct stream *s, struct ospf_interface *oi)
|
|||||||
link_info_set (s, nbr->router_id, oi->address->u.prefix4,
|
link_info_set (s, nbr->router_id, oi->address->u.prefix4,
|
||||||
LSA_LINK_TYPE_POINTOPOINT, 0, oi->output_cost);
|
LSA_LINK_TYPE_POINTOPOINT, 0, oi->output_cost);
|
||||||
links++;
|
links++;
|
||||||
|
if (IS_DEBUG_OSPF (lsa, LSA_GENERATE))
|
||||||
zlog_info ("PointToMultipoint: set link to %s",
|
zlog_info ("PointToMultipoint: set link to %s",
|
||||||
inet_ntoa(oi->address->u.prefix4));
|
inet_ntoa(oi->address->u.prefix4));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user