summaryrefslogtreecommitdiffstats
path: root/lib/plist.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-09-23 23:34:33 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-09-23 23:34:33 +0200
commitd862bffbda978e1292f80dbf482360dbb7176f58 (patch)
tree97cc6b51992e4012e9899e07e080ffdffd420c25 /lib/plist.c
parentzebra: zebra_vty.c compiles (diff)
downloadfrr-d862bffbda978e1292f80dbf482360dbb7176f58.tar.xz
frr-d862bffbda978e1292f80dbf482360dbb7176f58.zip
lib: lib compiles
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/plist.c')
-rw-r--r--lib/plist.c51
1 files changed, 29 insertions, 22 deletions
diff --git a/lib/plist.c b/lib/plist.c
index 538660597..5911d6cf7 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -1920,17 +1920,6 @@ DEFUN (ip_prefix_list_description,
return CMD_SUCCESS;
}
-/*
- * CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "no ip prefix-list WORD description .LINE",
- * NO_STR
- * IP_STR
- * PREFIX_LIST_STR
- * "Name of a prefix list\n"
- * "Prefix-list specific description\n"
- * "Up to 80 characters describing this prefix-list\n"
- *
- */
DEFUN (no_ip_prefix_list_description,
no_ip_prefix_list_description_cmd,
"no ip prefix-list WORD description",
@@ -1944,6 +1933,19 @@ DEFUN (no_ip_prefix_list_description,
return vty_prefix_list_desc_unset (vty, AFI_IP, argv[idx_word]->arg);
}
+/* ALIAS_FIXME */
+DEFUN (no_ip_prefix_list_description_comment,
+ no_ip_prefix_list_description_comment_cmd,
+ "no ip prefix-list WORD description LINE...",
+ NO_STR
+ IP_STR
+ PREFIX_LIST_STR
+ "Name of a prefix list\n"
+ "Prefix-list specific description\n"
+ "Up to 80 characters describing this prefix-list\n")
+{
+ return no_ip_prefix_list_description (self, vty, argc, argv);
+}
DEFUN (show_ip_prefix_list,
show_ip_prefix_list_cmd,
@@ -2629,17 +2631,6 @@ DEFUN (ipv6_prefix_list_description,
return CMD_SUCCESS;
}
-/*
- * CHECK ME - The following ALIASes need to be implemented in this DEFUN
- * "no ipv6 prefix-list WORD description .LINE",
- * NO_STR
- * IPV6_STR
- * PREFIX_LIST_STR
- * "Name of a prefix list\n"
- * "Prefix-list specific description\n"
- * "Up to 80 characters describing this prefix-list\n"
- *
- */
DEFUN (no_ipv6_prefix_list_description,
no_ipv6_prefix_list_description_cmd,
"no ipv6 prefix-list WORD description",
@@ -2653,6 +2644,20 @@ DEFUN (no_ipv6_prefix_list_description,
return vty_prefix_list_desc_unset (vty, AFI_IP6, argv[idx_word]->arg);
}
+/* ALIAS_FIXME */
+DEFUN (no_ipv6_prefix_list_description_comment,
+ no_ipv6_prefix_list_description_comment_cmd,
+ "no ipv6 prefix-list WORD description LINE...",
+ NO_STR
+ IPV6_STR
+ PREFIX_LIST_STR
+ "Name of a prefix list\n"
+ "Prefix-list specific description\n"
+ "Up to 80 characters describing this prefix-list\n")
+{
+ return no_ipv6_prefix_list_description_comment (self, vty, argc, argv);
+}
+
DEFUN (show_ipv6_prefix_list,
show_ipv6_prefix_list_cmd,
@@ -3172,6 +3177,7 @@ prefix_list_init_ipv4 (void)
install_element (CONFIG_NODE, &ip_prefix_list_description_cmd);
install_element (CONFIG_NODE, &no_ip_prefix_list_description_cmd);
+ install_element (CONFIG_NODE, &no_ip_prefix_list_description_comment_cmd);
install_element (CONFIG_NODE, &ip_prefix_list_sequence_number_cmd);
install_element (CONFIG_NODE, &no_ip_prefix_list_sequence_number_cmd);
@@ -3248,6 +3254,7 @@ prefix_list_init_ipv6 (void)
install_element (CONFIG_NODE, &ipv6_prefix_list_description_cmd);
install_element (CONFIG_NODE, &no_ipv6_prefix_list_description_cmd);
+ install_element (CONFIG_NODE, &no_ipv6_prefix_list_description_comment_cmd);
install_element (CONFIG_NODE, &ipv6_prefix_list_sequence_number_cmd);
install_element (CONFIG_NODE, &no_ipv6_prefix_list_sequence_number_cmd);