diff options
| author | Denis Ovsienko <infrastation@yandex.ru> | 2011-09-10 16:40:23 +0400 | 
|---|---|---|
| committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-09-27 21:42:52 +0400 | 
| commit | 171c9a996dd75a8b9aa596288c974f9ac0fbc5d6 (patch) | |
| tree | 61c7aae794eee1d93fb4bafaca4e73c16bc3b947 /ospfd | |
| parent | 7dbeea9d4f43fda84971d0bcffb6da88228dab53 (diff) | |
ospfd: use existing macro for consistency
Diffstat (limited to 'ospfd')
| -rw-r--r-- | ospfd/ospf_vty.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 46e7ffa5..3c8df130 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. */ | 
