summaryrefslogtreecommitdiffstats
path: root/lib/distribute.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-29 19:48:57 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-29 19:48:57 +0200
commit67656e9b65ab7c6bb979be72b4917cfd4a2241b6 (patch)
tree823937fe0aded2bcfad54dfdea570259bd4820ac /lib/distribute.c
parentospfd: minor parser fixes (diff)
downloadfrr-67656e9b65ab7c6bb979be72b4917cfd4a2241b6.tar.xz
frr-67656e9b65ab7c6bb979be72b4917cfd4a2241b6.zip
all: added CHECK ME for DEFUNs that look at argc
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/distribute.c')
-rw-r--r--lib/distribute.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/distribute.c b/lib/distribute.c
index 8a0083391..e0b4f0468 100644
--- a/lib/distribute.c
+++ b/lib/distribute.c
@@ -308,6 +308,7 @@ DEFUN (distribute_list,
"Filter outgoing routing updates\n"
"Interface name\n")
{
+ /* CHECK ME argc referenced below */
int prefix = (argv[1]->type == WORD_TKN) ? 1 : 0;
/* Check of distribute list type. */
@@ -339,6 +340,7 @@ DEFUN (no_distribute_list,
"Filter outgoing routing updates\n"
"Interface name\n")
{
+ /* CHECK ME argc referenced below */
int prefix = (argv[2]->type == WORD_TKN) ? 1 : 0;
/* Check of distribute list type. */