diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2011-09-10 16:40:23 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-09-10 16:40:23 +0400 |
commit | 4f151e5cc6ac6cfb1042dc3e5a1139a9f3138d91 (patch) | |
tree | 4a841fca87ddbcb17b645e7e30786e11e10e7aaf /ospfd/ospf_vty.c | |
parent | 2f7d5fb38a284a00f990f943fbd3fbd8961ef52e (diff) |
ospfd: use existing macro for consistency
Diffstat (limited to 'ospfd/ospf_vty.c')
-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 adc822a7..955a8227 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -7896,9 +7896,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. */ |