summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorhasso <hasso>2004-07-12 16:32:56 +0000
committerhasso <hasso>2004-07-12 16:32:56 +0000
commit996933fd8f5657e5f4679d4c91a79a7adcb06da6 (patch)
tree96195261e3d56454135c3c6a46529ad2afdade18 /zebra
parentb596c71ef452b7d3f48835fe8e6844ab2f1c1b6b (diff)
1) extract.pl is braindead, but I will not touch it willingly.
2) Following common style is always better anyway.
Diffstat (limited to 'zebra')
-rw-r--r--zebra/ChangeLog5
-rw-r--r--zebra/irdp_interface.c18
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);