summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_top.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove 'no router' from OSPF6_NODEStephen Hemminger2009-02-111-1/+0
| | | | Don't need command twice.
* Fix ospf6d crash if removing interface with no areaJon2009-02-111-0/+7
| | | | | | ospf6d will crash if attempting to remove interface when no areas have been defined Check if any areas have been defined. Should prevent use of empty pointer.
* Add no router ospf6Jon2009-02-111-0/+1
| | | | | | Suggestion: Makes no sense to me that the statement to remove ospf6 configuration is located in OSPF6D_NODE. Moved to CONFIG_NODE next to matching define command.
* Comment out unused codeStephen Hemminger2009-02-091-0/+2
| | | | More compiler warning removal
* Merge in latest quagga (0.99.11)Stephen Hemminger2008-10-271-17/+17
|\ | | | | | | Merge in current upstream version of quagga.
| * Merge branch 'master' of /home/shemminger/src/quagga into upstreamStephen Hemminger2008-10-131-17/+21
| |\ | | | | | | | | | Resolve all conflicts by using upstream version.
| | * [trivia] finish off static'ification of ospf6d and ripngdPaul Jakma2008-08-221-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-15 Paul Jakma <paul.jakma@sun.com> * {ospf6d,ripngd}/*: Finish job of marking functions as static, or exporting declarations for them, to quell warning noise with Quagga's GCC default high-level of warning flags. Thus allowing remaining, more useful warnings to be more easily seen.
| | * [ospf6d] GNU Zebra #3562: ABR Crash fix, memory fixes, route table debugsPaul Jakma2006-05-151-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | 2006-02-22 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> * valgrind check and memory fix * route table identification string added * ospf6d.h: version 0.9.7q
| | * [ospf6d] Import GNU Zebra CVSps#3559: Fix inter-area as-ext bug, cleanup debugPaul Jakma2006-05-151-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-06 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> * ospf6_asbr.c: fix bug of calculating AS-External routes in other areas. Add debugging function for border-router calculation. * ospf6d.h: version 0.9.7p
| | * 2005-04-07 Paul Jakma <paul.jakma@sun.com>quagga_post_listloop_cleanuppaul2005-04-071-44/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * (global): Fix up list loops to match changes in lib/linklist, and some basic auditing of usage. * configure.ac: define QUAGGA_NO_DEPRECATED_INTERFACES * HACKING: Add notes about deprecating interfaces and commands. * lib/linklist.h: Add usage comments. Rename getdata macro to listgetdata. Rename nextnode to listnextnode and fix its odd behaviour to be less dangerous. Make listgetdata macro assert node is not null, NULL list entries should be bug condition. ALL_LIST_ELEMENTS, new macro, forward-referencing macro for use with for loop, Suggested by Jim Carlson of Sun. Add ALL_LIST_ELEMENTS_RO for cases which obviously do not need the "safety" of previous macro. LISTNODE_ADD and DELETE macros renamed to ATTACH, DETACH, to distinguish from the similarly named functions, and reflect their effect better. Add a QUAGGA_NO_DEPRECATED_INTERFACES define guarded section with the old defines which were modified above, for backwards compatibility - guarded to prevent Quagga using it.. * lib/linklist.c: fix up for linklist.h changes. * ospf6d/ospf6_abr.c: (ospf6_abr_examin_brouter) change to a single scan of the area list, rather than scanning all areas first for INTER_ROUTER and then again for INTER_NETWORK. According to 16.2, the scan should be area specific anyway, and further ospf6d does not seem to implement 16.3 anyway.
| | * Better common router-id handling.hasso2004-10-111-3/+7
| | |
| | * 2004-10-10 Paul Jakma <paul@dishone.st>paul2004-10-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ospf6_route.c: Add const qualifier to various char arrays of constants. signed/unsigned fixes. (ospf6_linkstate_table_show) argv is const * ospf6_snmp.c: listnode typedef is dead. (ospf6_snmp_init) Take struct thread_master arg, needed for smux_init. * ospf6_snmp.h: update ospf6_snmp_init declaration. * ospf6d.c: (ospf6_init) add const qualifier to sargv, pass master to ospf_snmp6_init. * ospf6_asbr.c: const char update. * ospf6_interface.c: ditto, plus signed/unsigned fixes. (ipv6_ospf6_cost) Check whether cost fits in u_int32_t and use strtoul. * ospf6_intra.c: const char update. Parenthesise expression. * ospf6_lsa.c: signed/unsigned and const char updates. * ospf6_proto.c: ditto. * ospf6_message.c: ditto. * ospf6_lsdb.c: signed/unsigned update. * ospf6_main.c: const char update. * ospf6_neighbor.c: ditto. * ospf6_spf.c: ditto. * ospf6_top.c: ditto.
| | * Remove usage of evil list and listnode typedefs.hasso2004-09-231-6/+6
| | |
| | * Merge svn revision 981 from Zebra cvs.hasso2004-09-031-3/+47
| | |
| | * Merge svn revision 975 from Zebra repository.hasso2004-09-011-12/+0
| | |
| | * Make ospf6d configuration appear in vtysh as well. Report sent to Yasuhirohasso2004-08-261-0/+1
| | | | | | | | | | | | Ohara.
| | * SVN revisions 935-940 merge from Zebra CVS.hasso2004-08-251-2/+4
| | |
| | * Merge svn revisions 924 and 925 from Zebra CVS. Also remove uselesshasso2004-08-191-55/+6
| | | | | | | | | | | | | | | ospf6_lsdb prototype declaration from ospf6_lsa.h. Report sent to Yasuhiro Ohara as well.
| | * SVN revisions 916-920 from Zebra. ABR support is almost done.hasso2004-08-151-10/+91
| | |
| | * SVN revision 907 from Zebra cvs repository.hasso2004-08-041-19/+37
| | |
| | * Ospf6d merge from Zebra repository with added privs stuff and mergedhasso2004-05-181-252/+444
| | | | | | | | | | | | zclient changes.
| | * ospf6d part of 6Wind patch.hasso2003-05-251-0/+3
| | |
| | * Initial revisionpaul2002-12-131-0/+401
| |
* | Use XCALLOCStephen Hemminger2008-08-181-2/+1
| | | | | | | | Replace calls to XMALLOC followed by memset with XCALLOC.
* | Make command nodes staticStephen Hemminger2008-08-111-1/+1
|/ | | | | The cmd_nodes used to configure vty, can mostly be static so (basic data hiding 101).
* [ospf6d] GNU Zebra #3562: ABR Crash fix, memory fixes, route table debugspaul2006-05-151-3/+7
| | | | | | | | 2006-02-22 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> * valgrind check and memory fix * route table identification string added * ospf6d.h: version 0.9.7q
* [ospf6d] Import GNU Zebra CVSps#3559: Fix inter-area as-ext bug, cleanup debugpaul2006-05-151-0/+27
| | | | | | | | | 2005-10-06 Yasuhiro Ohara <yasu@sfc.wide.ad.jp> * ospf6_asbr.c: fix bug of calculating AS-External routes in other areas. Add debugging function for border-router calculation. * ospf6d.h: version 0.9.7p
* 2005-04-07 Paul Jakma <paul.jakma@sun.com>quagga.post.listloop.cleanuppaul2005-04-071-44/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * (global): Fix up list loops to match changes in lib/linklist, and some basic auditing of usage. * configure.ac: define QUAGGA_NO_DEPRECATED_INTERFACES * HACKING: Add notes about deprecating interfaces and commands. * lib/linklist.h: Add usage comments. Rename getdata macro to listgetdata. Rename nextnode to listnextnode and fix its odd behaviour to be less dangerous. Make listgetdata macro assert node is not null, NULL list entries should be bug condition. ALL_LIST_ELEMENTS, new macro, forward-referencing macro for use with for loop, Suggested by Jim Carlson of Sun. Add ALL_LIST_ELEMENTS_RO for cases which obviously do not need the "safety" of previous macro. LISTNODE_ADD and DELETE macros renamed to ATTACH, DETACH, to distinguish from the similarly named functions, and reflect their effect better. Add a QUAGGA_NO_DEPRECATED_INTERFACES define guarded section with the old defines which were modified above, for backwards compatibility - guarded to prevent Quagga using it.. * lib/linklist.c: fix up for linklist.h changes. * ospf6d/ospf6_abr.c: (ospf6_abr_examin_brouter) change to a single scan of the area list, rather than scanning all areas first for INTER_ROUTER and then again for INTER_NETWORK. According to 16.2, the scan should be area specific anyway, and further ospf6d does not seem to implement 16.3 anyway.
* Better common router-id handling.hasso2004-10-111-3/+7
|
* 2004-10-10 Paul Jakma <paul@dishone.st>paul2004-10-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * ospf6_route.c: Add const qualifier to various char arrays of constants. signed/unsigned fixes. (ospf6_linkstate_table_show) argv is const * ospf6_snmp.c: listnode typedef is dead. (ospf6_snmp_init) Take struct thread_master arg, needed for smux_init. * ospf6_snmp.h: update ospf6_snmp_init declaration. * ospf6d.c: (ospf6_init) add const qualifier to sargv, pass master to ospf_snmp6_init. * ospf6_asbr.c: const char update. * ospf6_interface.c: ditto, plus signed/unsigned fixes. (ipv6_ospf6_cost) Check whether cost fits in u_int32_t and use strtoul. * ospf6_intra.c: const char update. Parenthesise expression. * ospf6_lsa.c: signed/unsigned and const char updates. * ospf6_proto.c: ditto. * ospf6_message.c: ditto. * ospf6_lsdb.c: signed/unsigned update. * ospf6_main.c: const char update. * ospf6_neighbor.c: ditto. * ospf6_spf.c: ditto. * ospf6_top.c: ditto.
* Remove usage of evil list and listnode typedefs.hasso2004-09-231-6/+6
|
* Merge svn revision 981 from Zebra cvs.hasso2004-09-031-3/+47
|
* Merge svn revision 975 from Zebra repository.hasso2004-09-011-12/+0
|
* Make ospf6d configuration appear in vtysh as well. Report sent to Yasuhirohasso2004-08-261-0/+1
| | | | Ohara.
* SVN revisions 935-940 merge from Zebra CVS.hasso2004-08-251-2/+4
|
* Merge svn revisions 924 and 925 from Zebra CVS. Also remove uselesshasso2004-08-191-55/+6
| | | | | ospf6_lsdb prototype declaration from ospf6_lsa.h. Report sent to Yasuhiro Ohara as well.
* SVN revisions 916-920 from Zebra. ABR support is almost done.hasso2004-08-151-10/+91
|
* SVN revision 907 from Zebra cvs repository.hasso2004-08-041-19/+37
|
* Ospf6d merge from Zebra repository with added privs stuff and mergedhasso2004-05-181-252/+444
| | | | zclient changes.
* ospf6d part of 6Wind patch.hasso2003-05-251-0/+3
|
* Initial revisionpaul2002-12-131-0/+401