diff options
-rw-r--r-- | ospfd/ChangeLog | 2 | ||||
-rw-r--r-- | ospfd/ospf_vty.c | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index 9ec52ccd..10a5de6a 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -5,6 +5,8 @@ This was causing ospfd to not start if router-id had not been configured statically. (ospf_if_update) ditto. + * ospf_vty.c: (config_write_ospf_distribute) trim down + redundant strings. 2005-11-26 Paul Jakma <paul.jakma@sun.com> diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index cc66d119..32dfdea0 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -7693,10 +7693,9 @@ config_write_ospf_distribute (struct vty *vty, struct ospf *ospf) /* default-information print. */ if (ospf->default_originate != DEFAULT_ORIGINATE_NONE) { - if (ospf->default_originate == DEFAULT_ORIGINATE_ZEBRA) - vty_out (vty, " default-information originate"); - else - vty_out (vty, " default-information originate always"); + vty_out (vty, " default-information originate"); + if (ospf->default_originate == DEFAULT_ORIGINATE_ALWAYS) + vty_out (vty, " always"); if (ospf->dmetric[DEFAULT_ROUTE].value >= 0) vty_out (vty, " metric %d", |