summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_vty.c
Commit message (Collapse)AuthorAgeFilesLines
* 2005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2005-02-081-2/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ospf_interface.h: Improve passive_interface comment. Add new multicast_memberships bitmask to struct ospf_interface to track active multicast subscriptions. Declare new function ospf_if_set_multicast. * ospf_interface.c: (ospf_if_set_multicast) New function to configure multicast memberships properly based on the current multicast_memberships status and the current values of the ospf_interface state, type, and passive_interface status. (ospf_if_up) Remove call to ospf_if_add_allspfrouters (this is now handled by ism_change_state's call to ospf_if_set_multicast). (ospf_if_down) Remove call to ospf_if_drop_allspfrouters (now handled by ism_change_state). * ospf_ism.c: (ospf_dr_election) Remove logic to join or leave the DRouters multicast group (now handled by ism_change_state's call to ospf_if_set_multicast). (ism_change_state) Add call to ospf_if_set_multicast to change multicast memberships as necessary to reflect the new interface state. * ospf_packet.c: (ospf_hello) When a Hello packet is received on a passive interface: 1. Increase the severity of the error message from LOG_INFO to LOG_WARNING; 2. Add more information to the error message (packet destination address and interface address); and 3. If the packet was sent to ospf-all-routers, then try to fix the multicast group memberships. (ospf_read) When a packet is received on an interface whose state is ISM_Down, enhance the warning message to show the packet destination address, and try to update/fix the multicast group memberships if the packet was sent to a multicast address. When a packet is received for ospf-designated-routers, but the current interface state is not DR or BDR, then increase the severity level of the error message from LOG_INFO to LOG_WARNING, and try to fix the multicast group memberships. * ospf_vty.c: (ospf_passive_interface) Call ospf_if_set_multicast for any ospf interface that may have changed from active to passive. (no_ospf_passive_interface) Call ospf_if_set_multicast for any ospf interface that may have changed from passive to active. (show_ip_ospf_interface_sub) Show multicast group memberships.
* Show sums of checksums in "show ip ospf" output. Okayed by Paul and Jameshasso2004-12-221-4/+31
| | | | R. Leu (author of original idea).
* Fix "show ip ospf" output. If router is configured as "translate-never", wehasso2004-12-221-1/+1
| | | | say so - we can never be translator.
* 2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-12-151-3/+2
| | | | | | | | | | * ospf_interface.h: Declare new function ospf_default_iftype. * ospf_interface.c: (ospf_default_iftype) New function to centralize this logic in one place. * ospf_zebra.c: (ospf_interface_add) Use new function ospf_default_iftype. * ospf_vty.c: (no_ip_ospf_network,config_write_interface) Fix logic by using new function ospf_default_iftype.
* 2004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-12-081-6/+7
| | | | * *.c: Change level of debug messages to LOG_DEBUG.
* OK. Here it is - PtP patch from Andrew J. Schorr. No problems with ospfd,hasso2004-10-191-0/+5
| | | | ripd might need some more testing though.
* 2004-10-11 Paul Jakma <paul@dishone.st>paul2004-10-111-6/+7
| | | | | | | | | | * (global) Const char update and signed/unsigned fixes. * (various headers) size defines should be unsigned. * ospf_interface.h: remove duplicated defines, include the authoritative header - though, these defines should probably be moved to a dedicated header, or ospfd.h. * ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned. * ospf_packet.c: (ospf_write) cast result of shift to unsigned.
* Compiler warnings fixes round 1.hasso2004-10-081-21/+21
|
* Compiler warnings fixes.hasso2004-09-261-9/+9
|
* Remove usage of evil list and listnode typedefs.hasso2004-09-231-24/+24
|
* Fix for Bugzilla #108.hasso2004-08-311-6/+9
|
* Remove ifdef's HAVE_NSSA. NSSA support is stable enough.hasso2004-06-201-62/+0
|
* Ooops. Check if area-id format is valid.hasso2004-04-191-0/+8
|
* ****! What else I will discover while documenting this code? Remove uselesshasso2004-04-191-7/+0
| | | | warnings and update documentation.
* Fix segfault in ospfd - [quagga-dev 980].hasso2004-03-201-1/+1
|
* 2003-08-10 amir <amir@datacore.ch>paul2003-08-101-36/+33
| | | | | * Add missing 'i' to getopts, short form of --pid_file. see http://bugzilla.quagga.net/show_bug.cgi?id=25
* 2003-08-06 Anders K. Pedersen <mailnews+router-quagga-dev@news.cohaesio.com>paul2003-08-061-2/+3
| | | | | | * ospfd/ospf_vty.c: (ospf_config_write) fix output of passive-interface when IP has been specified - we still need to print the interface.
* 2003-06-30 Paul Jakma <paul@dishone.st>paul2003-06-301-1/+5
| | | | | * (show_ip_ospf_database_header) Fix unconditional NSSA-dependent printf.
* 2003-06-27 Paul Jakma <paul@dishone.st>paul2003-06-271-8/+21
| | | | | | | | | * ospf_vty.c: (global) add, unused, description array for lsa flags. (show_ip_ospf_database_header): pretty print options, printf hex numbers as 0x, print lsa flags and note if it is a translated LSA. (show_lsa_detail_proc): print out OSPF_LSA_LOCAL_XLT LSAs. * ospf_packet.c: (ospf_write) print out destination IP in debug info if write fails.
* 2003-06-19 Paul Jakma <paul@dishone.st>paul2003-06-221-58/+93
| | | | | | | | | | | | | | | | | | | | | * ospf_vty.c (ospf_area_stub_no_summary): fix typo. (ospf_area_nssa_cmd_handler): new function to handle the area.*nssa commands. (ospf_area_nssa_cmd): changed to call ospf_area_nssa_cmd_handler (ospf_area_nssa_translate_cmd) ditto (ospf_area_nssa_translate_cmd): changed from ALIAS to defun, call ospf_area_nssa_cmd_handler (ospf_area_nssa_translate_no_summary_cmd): ditto (no_ospf_area_nssa_cmd): call ospf_schedule_abr_task() (show_ip_ospf_area): Formatting cleanups. Properly print out NSSA area configuration. show_router_lsa_detail: Add missing newline (show_network_lsa_detail): ditto (show_summary_lsa_detail): ditto (show_summary_asbr_lsa_detail): ditto (show_ip_ospf_route_router): fix spacing (config_write_ospf_area): actually write out proper state for NSSA area.
* From: Hasso Tepper <hasso@estpak.ee>paul2003-05-231-0/+1
| | | | | | | | Add the 'no interface' command to all the daemons and vtysh. now it's possible to delete interface from routeing daemons as well only if it doesn't exist in os. http://hasso.linux.ee/zebra/ht-no_interface_fix.patch
* Undo Hasso last patch, about to apply a slightly updated patch.paul2003-05-231-1/+0
|
* From: Hasso Tepper <hasso@estpak.ee>paul2003-05-231-0/+1
| | | | | | http://hasso.linux.ee/zebra/ht-no_interface-23052003.patch Add the 'no interface' command to all the daemons and vtysh.
* From: Hasso Tepper <hasso@estpak.ee>paul2003-05-181-0/+3
| | | | | | Subject: [zebra 19093] [PATCH] Two more fixes Show NSSA LSA route info in "show ip ospf database" output
* From: Hasso Tepperpaul2003-04-231-238/+238
| | | | | | This one fixes "router xxx" node commands in vtysh. Don't get "unknown command" error when entering "passive-interface eth0" command while ospfd and ospf6d running etc.
* 2003-04-04 Paul Jakma <paul@dishone.st>paul2003-04-041-118/+188
| | | | | | | | | * Sync to Zebra CVS * Fix lib/thread.h leak * Fix small Opaque LSA leak * Do not configure OSPF interfaces for secondary addresses * vtysh fixes from Hasso * Dave Watson's missing ntohs fix
* 2003-03-25 Paul Jakma <paul@dishone.st>paul2003-03-251-267/+343
| | | | | | | | * sync to latest zebra CVS * spec file: updated and added define for ospf-api/client NB: OSPF-API has been broken by the zebra.org changes, which has added struct ospf * as a new arg to many functions
* zebra link state detection supportpatch_z12269_linkstatepaul2002-12-131-6/+5
|
* Initial revisionpaul2002-12-131-0/+7571