diff options
author | ajs <ajs> | 2005-09-19 13:28:05 +0000 |
---|---|---|
committer | ajs <ajs> | 2005-09-19 13:28:05 +0000 |
commit | 5339cfdb7c3f6187452982173aa55ff525d1f6fe (patch) | |
tree | e7cd744e116040c7bc5f2823f8b73ea9e1316d7e /ospfd/ospf_vty.c | |
parent | f06834b80504497824ce50b533ba4fedb6abf2c7 (diff) |
2005-09-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* ospf_lsa.h: (ospf_external_lsa_flush) Comment out the 5th argument
(nexthop) since it is not used in the function (except inside
some commented-out code).
* ospf_lsa.c: (ospf_external_lsa_flush,ospf_external_lsa_refresh)
Comment out the 5th argument to ospf_external_lsa_flush.
* ospf_asbr.c: (ospf_redistribute_withdraw) Comment out 5th arg
to ospf_external_lsa_flush.
* ospf_vty.c: (no_ospf_default_information_originate) Eliminate 5th
uninitialized nexthop arg to ospf_external_lsa_flush.
* ospf_zebra.c: (ospf_zebra_read_ipv4) Comment out 5th arg
to ospf_external_lsa_flush.
* ospfd.c: (ospf_network_set) Comment out 5th arg
to ospf_external_lsa_flush.
Diffstat (limited to 'ospfd/ospf_vty.c')
-rw-r--r-- | ospfd/ospf_vty.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 1c1f2fc6..e8d0a38a 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -6054,13 +6054,12 @@ DEFUN (no_ospf_default_information_originate, { struct ospf *ospf = vty->index; struct prefix_ipv4 p; - struct in_addr nexthop; p.family = AF_INET; p.prefix.s_addr = 0; p.prefixlen = 0; - ospf_external_lsa_flush (ospf, DEFAULT_ROUTE, &p, 0, nexthop); + ospf_external_lsa_flush (ospf, DEFAULT_ROUTE, &p, 0); if (EXTERNAL_INFO (DEFAULT_ROUTE)) { ospf_external_info_delete (DEFAULT_ROUTE, p); |