summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-29 17:48:57 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-29 17:48:57 +0000
commit67656e9b65ab7c6bb979be72b4917cfd4a2241b6 (patch)
tree823937fe0aded2bcfad54dfdea570259bd4820ac /lib/vty.c
parentff788d089ac145ac06b99018811f46a9f6b69dda (diff)
all: added CHECK ME for DEFUNs that look at argc
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/vty.c b/lib/vty.c
index e922c672a8..7fcf4565a2 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -2797,6 +2797,7 @@ DEFUN (no_vty_access_class,
"Filter connections based on an IP access list\n"
"IP access list\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 2;
const char *accesslist = (argc == 3) ? argv[idx_word]->arg : NULL;
if (! vty_accesslist_name || (argc && strcmp(vty_accesslist_name, accesslist)))
@@ -2840,6 +2841,7 @@ DEFUN (no_vty_ipv6_access_class,
"Filter connections based on an IP access list\n"
"IPv6 access list\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 3;
const char *accesslist = (argc == 4) ? argv[idx_word]->arg : NULL;
@@ -2948,6 +2950,7 @@ DEFUN (no_terminal_monitor,
"Set terminal line parameters\n"
"Copy debug output to the current terminal line\n")
{
+ /* CHECK ME argc referenced below */
return terminal_no_monitor (self, vty, argc, argv);
}