mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-02 18:56:53 +00:00
[ospfd] trim redundant strings
2006-01-10 Paul Jakma <paul.jakma@sun.com> * ospf_vty.c: (config_write_ospf_distribute) trim down redundant strings.
This commit is contained in:
parent
867528434d
commit
c42c177de3
@ -5,6 +5,8 @@
|
|||||||
This was causing ospfd to not start if router-id had not
|
This was causing ospfd to not start if router-id had not
|
||||||
been configured statically.
|
been configured statically.
|
||||||
(ospf_if_update) ditto.
|
(ospf_if_update) ditto.
|
||||||
|
* ospf_vty.c: (config_write_ospf_distribute) trim down
|
||||||
|
redundant strings.
|
||||||
|
|
||||||
2005-11-26 Paul Jakma <paul.jakma@sun.com>
|
2005-11-26 Paul Jakma <paul.jakma@sun.com>
|
||||||
|
|
||||||
|
@ -7693,10 +7693,9 @@ config_write_ospf_distribute (struct vty *vty, struct ospf *ospf)
|
|||||||
/* default-information print. */
|
/* default-information print. */
|
||||||
if (ospf->default_originate != DEFAULT_ORIGINATE_NONE)
|
if (ospf->default_originate != DEFAULT_ORIGINATE_NONE)
|
||||||
{
|
{
|
||||||
if (ospf->default_originate == DEFAULT_ORIGINATE_ZEBRA)
|
vty_out (vty, " default-information originate");
|
||||||
vty_out (vty, " default-information originate");
|
if (ospf->default_originate == DEFAULT_ORIGINATE_ALWAYS)
|
||||||
else
|
vty_out (vty, " always");
|
||||||
vty_out (vty, " default-information originate always");
|
|
||||||
|
|
||||||
if (ospf->dmetric[DEFAULT_ROUTE].value >= 0)
|
if (ospf->dmetric[DEFAULT_ROUTE].value >= 0)
|
||||||
vty_out (vty, " metric %d",
|
vty_out (vty, " metric %d",
|
||||||
|
Loading…
Reference in New Issue
Block a user