From: Denis Ovsienko Date: Sat, 10 Sep 2011 12:40:23 +0000 (+0400) Subject: ospfd: use existing macro for consistency X-Git-Tag: frr-2.0-rc1~2028 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=171c9a996dd75a8b9aa596288c974f9ac0fbc5d6;p=mirror%2Ffrr.git ospfd: use existing macro for consistency --- diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 46e7ffa525..3c8df130ee 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -7902,9 +7902,9 @@ config_write_ospf_distribute (struct vty *vty, struct ospf *ospf) { /* distribute-list print. */ 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", - ospf->dlist[type].name, + DISTRIBUTE_NAME (ospf, type), zebra_route_string(type), VTY_NEWLINE); /* default-information print. */