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
|
||||
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>
|
||||
|
||||
|
@ -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");
|
||||
if (ospf->default_originate == DEFAULT_ORIGINATE_ALWAYS)
|
||||
vty_out (vty, " always");
|
||||
|
||||
if (ospf->dmetric[DEFAULT_ROUTE].value >= 0)
|
||||
vty_out (vty, " metric %d",
|
||||
|
Loading…
Reference in New Issue
Block a user