diff options
author | Tomasz Moń <desowin@gmail.com> | 2020-04-13 19:53:42 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2020-04-15 14:27:21 +0000 |
commit | 040c31c269e953412ec044d861ed3dee5269dbec (patch) | |
tree | e0aa9b461a05c8155e6a99c4f5ee0a2e95f95ade /extcap/sshdump.c | |
parent | 520bfad41c8ec557c6cda87a571ae2c21b539cba (diff) |
sshdump: Use Open dialog for SSH private key
Set mustexist option to true to use Open file dialog instead of Save.
Change-Id: Ic8890facb6eebdacdc52881f617e8137585220f4
Reviewed-on: https://code.wireshark.org/review/36832
Petri-Dish: Tomasz Moń <desowin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'extcap/sshdump.c')
-rw-r--r-- | extcap/sshdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap/sshdump.c b/extcap/sshdump.c index 84326c1ee2..b63e425513 100644 --- a/extcap/sshdump.c +++ b/extcap/sshdump.c @@ -288,7 +288,7 @@ static int list_config(char *interface, unsigned int remote_port) "or key files) are unavailable.}{group=Authentication}\n", inc++); printf("arg {number=%u}{call=--sshkey}{display=Path to SSH private key}" "{type=fileselect}{tooltip=The path on the local filesystem of the private ssh key}" - "{group=Authentication}\n", inc++); + "{mustexist=true}{group=Authentication}\n", inc++); printf("arg {number=%u}{call=--sshkey-passphrase}{display=SSH key passphrase}" "{type=password}{tooltip=Passphrase to unlock the SSH private key}{group=Authentication}\n", inc++); |