From 996933fd8f5657e5f4679d4c91a79a7adcb06da6 Mon Sep 17 00:00:00 2001 From: hasso Date: Mon, 12 Jul 2004 16:32:56 +0000 Subject: 1) extract.pl is braindead, but I will not touch it willingly. 2) Following common style is always better anyway. --- zebra/ChangeLog | 5 +++++ 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 + + * irdp_interface.c: follow common style while naming vty command + functions. Avoids confusion in extract.pl. + 2004-06-30 Greg Troxel * 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); -- cgit v1.2.1