diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-01-19 09:29:50 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-01-19 09:29:50 -0500 |
| commit | 45e56ec4c260ab19acc90fe1fe67be709968857b (patch) | |
| tree | 975ce7481ff202a4bb667fc5398c1f0f5f55d222 /lib/command.c | |
| parent | 6351ea6ebf64524583e7a54b4af25e140109d790 (diff) | |
lib: Fix up str2prefix usage in lua code
Two new coverity issues from inclusion of new lua code.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c index b9d607a101..b34fa7ff3e 100644 --- a/lib/command.c +++ b/lib/command.c @@ -2313,7 +2313,8 @@ DEFUN(script, "Script name (same as filename in /etc/frr/scripts/\n") { struct prefix p; - str2prefix("1.2.3.4/24", &p); + + (void)str2prefix("1.2.3.4/24", &p); struct frrscript *fs = frrscript_load(argv[1]->arg, NULL); |
