]> git.proxmox.com Git - mirror_iproute2.git/commit
devlink: catch missing strings in dl_args_required
authorJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 5 Nov 2019 21:17:06 +0000 (13:17 -0800)
committerDavid Ahern <dsahern@gmail.com>
Sat, 9 Nov 2019 00:39:44 +0000 (00:39 +0000)
commit1896b100af4659d9fee183a91ff4929baa4c7be4
treee2ba6fa4b044cd7e399931b5a9757324c8b119f9
parent9a0a2fcbf45b992a406c84d2dbd331a10cf437c2
devlink: catch missing strings in dl_args_required

Currently if dl_args_required doesn't contain a string
for a given option the fact that the option is missing
is silently ignored.

Add a catch-all case and print a generic error.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
devlink/devlink.c