diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2018-10-22 15:48:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-22 15:48:46 -0400 |
| commit | 920b243c1b154476ab9a629ac002817ead5a1efa (patch) | |
| tree | c2bf1bdc0fa1d4bfa86d1a3c57d066ff0a553314 /lib/routemap.c | |
| parent | 9a2deb2473f7d337f472792308a41c52b7feb6e2 (diff) | |
| parent | 98c06e8618fe7c73edddeaf6ac35186521e4604b (diff) | |
Merge pull request #3209 from opensourcerouting/cli-fuzzer-fixes
CLI fuzzer fixes
Diffstat (limited to 'lib/routemap.c')
| -rw-r--r-- | lib/routemap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/routemap.c b/lib/routemap.c index 3a20ed5cda..6d6267af6b 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -2251,7 +2251,8 @@ DEFUN(no_match_ipv6_next_hop_type, no_match_ipv6_next_hop_type_cmd, if (rmap_match_set_hook.no_match_ipv6_next_hop_type) return rmap_match_set_hook.no_match_ipv6_next_hop_type( - vty, index, "ipv6 next-hop type", argv[idx_word]->arg, + vty, index, "ipv6 next-hop type", + (argc <= idx_word) ? NULL : argv[idx_word]->arg, RMAP_EVENT_MATCH_DELETED); return CMD_SUCCESS; } |
