diff options
author | hasso <hasso> | 2004-07-12 16:32:56 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-07-12 16:32:56 +0000 |
commit | f925c2c008bb15ef06b271966ac7af34c2847a7e (patch) | |
tree | eaf652ee5f97af805b29c2cae4d665b7df099ce2 | |
parent | 831d2af00ff1f5899a243a1d79cd7724851fc059 (diff) | |
download | quagga-f925c2c008bb15ef06b271966ac7af34c2847a7e.tar.bz2 quagga-f925c2c008bb15ef06b271966ac7af34c2847a7e.tar.xz |
1) extract.pl is braindead, but I will not touch it willingly.
2) Following common style is always better anyway.
-rw-r--r-- | zebra/ChangeLog | 5 | ||||
-rw-r--r-- | zebra/irdp_interface.c | 18 |
2 files changed, 14 insertions, 9 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog index cf18a7d1..fab7acb5 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,8 @@ +2004-07-12 Hasso Tepper <hasso@estpak.ee> + + * irdp_interface.c: follow common style while naming vty command + functions. Avoids confusion in extract.pl. + 2004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com> * main.c: define thread_master variable so that linking with diff --git a/zebra/irdp_interface.c b/zebra/irdp_interface.c index 1e5ad0e9..572b7b95 100644 --- a/zebra/irdp_interface.c +++ b/zebra/irdp_interface.c @@ -408,8 +408,8 @@ DEFUN (ip_irdp_broadcast, return CMD_SUCCESS; } -DEFUN (ip_irdp_no, - ip_irdp_cmd_no, +DEFUN (no_ip_irdp, + no_ip_irdp_cmd, "no ip irdp", IP_STR "Disable ICMP Router discovery on this interface\n") @@ -442,8 +442,8 @@ DEFUN (ip_irdp_shutdown, return CMD_SUCCESS; } -DEFUN (ip_irdp_no_shutdown, - ip_irdp_no_shutdown_cmd, +DEFUN (no_ip_irdp_shutdown, + no_ip_irdp_shutdown_cmd, "no ip irdp shutdown", IP_STR "ICMP Router discovery no shutdown on this interface\n") @@ -625,8 +625,8 @@ DEFUN (ip_irdp_address_preference, } -DEFUN (ip_irdp_address_preference_no, - ip_irdp_address_preference_cmd_no, +DEFUN (no_ip_irdp_address_preference, + no_ip_irdp_address_preference_cmd, "no ip irdp address A.B.C.D preference <0-2147483647>", IP_STR "Alter ICMP Router discovery preference this interface\n" @@ -765,15 +765,15 @@ irdp_if_init () { install_element (INTERFACE_NODE, &ip_irdp_broadcast_cmd); install_element (INTERFACE_NODE, &ip_irdp_multicast_cmd); - install_element (INTERFACE_NODE, &ip_irdp_cmd_no); + install_element (INTERFACE_NODE, &no_ip_irdp_cmd); install_element (INTERFACE_NODE, &ip_irdp_shutdown_cmd); - install_element (INTERFACE_NODE, &ip_irdp_no_shutdown_cmd); + install_element (INTERFACE_NODE, &no_ip_irdp_shutdown_cmd); install_element (INTERFACE_NODE, &ip_irdp_holdtime_cmd); install_element (INTERFACE_NODE, &ip_irdp_maxadvertinterval_cmd); install_element (INTERFACE_NODE, &ip_irdp_minadvertinterval_cmd); install_element (INTERFACE_NODE, &ip_irdp_preference_cmd); install_element (INTERFACE_NODE, &ip_irdp_address_preference_cmd); - install_element (INTERFACE_NODE, &ip_irdp_address_preference_cmd_no); + install_element (INTERFACE_NODE, &no_ip_irdp_address_preference_cmd); install_element (INTERFACE_NODE, &ip_irdp_debug_messages_cmd); install_element (INTERFACE_NODE, &ip_irdp_debug_misc_cmd); |