diff options
author | Matthew Smith <mgsmith@netgate.com> | 2022-09-12 19:54:43 +0000 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2022-09-19 01:24:19 +0000 |
commit | 59abf89dda5e0d216892af503898c1307aae0c3d (patch) | |
tree | e9c87f3169952d49099be2d9a5224449d8683786 /src/plugins/map/ip6_map_t.c | |
parent | ccd83cb50194c6682a9c71b585d184c11ce11417 (diff) |
linux-cp: fix some CLI error messages
Type: fix
If unrecognized input was provided to the commands which add or delete a
pair, the error message was being created incorrectly and only displayed
something like "unknown input `'". Provide the correct argument to
format_unformat_error so that the actual unrecognized input is printed.
There also was no error or useful information printed if only the base
command were provided without any additional arguments. This should
print a warning about what required data was missing. Reorganize code to
handle this and to make sure that memory gets freed appropriately.
Change-Id: If454714f50cf41b3b56cfadfbf017f1d160e13a4
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/plugins/map/ip6_map_t.c')
0 files changed, 0 insertions, 0 deletions