diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-04-16 20:17:22 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-04-16 20:17:22 -0400 |
| commit | 50cf5243c182575582d438cf2435ef17b6f9ffde (patch) | |
| tree | 28d3871ab1d2395eaa6a2afd9a8558e1c76ad440 /lib/filter.c | |
| parent | b2145a4004cd6005297181b371fc51b8fbf391ec (diff) | |
lib: prefix must be a valid pointer at this point
Coverity does not understand how our CLI works. Make it
happy that we have tested it's existence
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/filter.c')
| -rw-r--r-- | lib/filter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/filter.c b/lib/filter.c index 71c9b8095a..da02a77763 100644 --- a/lib/filter.c +++ b/lib/filter.c @@ -2294,6 +2294,7 @@ DEFUN (ipv6_access_list_exact, if (argv_find(argv, argc, "exact-match", &idx)) exact = 1; + assert(prefix); return filter_set_zebra(vty, argv[idx_word]->arg, seq, permit_deny, AFI_IP6, prefix, exact, 1); } |
