diff options
| author | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-29 17:48:57 +0000 |
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-29 17:48:57 +0000 |
| commit | 67656e9b65ab7c6bb979be72b4917cfd4a2241b6 (patch) | |
| tree | 823937fe0aded2bcfad54dfdea570259bd4820ac /lib/vty.c | |
| parent | ff788d089ac145ac06b99018811f46a9f6b69dda (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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); } |
