mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 06:03:10 +00:00
ospfd: use existing macro for consistency
This commit is contained in:
parent
7dbeea9d4f
commit
171c9a996d
@ -7902,9 +7902,9 @@ config_write_ospf_distribute (struct vty *vty, struct ospf *ospf)
|
|||||||
{
|
{
|
||||||
/* distribute-list print. */
|
/* distribute-list print. */
|
||||||
for (type = 0; type < ZEBRA_ROUTE_MAX; type++)
|
for (type = 0; type < ZEBRA_ROUTE_MAX; type++)
|
||||||
if (ospf->dlist[type].name)
|
if (DISTRIBUTE_NAME (ospf, type))
|
||||||
vty_out (vty, " distribute-list %s out %s%s",
|
vty_out (vty, " distribute-list %s out %s%s",
|
||||||
ospf->dlist[type].name,
|
DISTRIBUTE_NAME (ospf, type),
|
||||||
zebra_route_string(type), VTY_NEWLINE);
|
zebra_route_string(type), VTY_NEWLINE);
|
||||||
|
|
||||||
/* default-information print. */
|
/* default-information print. */
|
||||||
|
Loading…
Reference in New Issue
Block a user