From d67c1db3f2b16185d7cff250e098f48d94883f0e Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Wed, 31 Aug 2016 10:14:33 +0200 Subject: extcap: make extcap use the ws_strtoi/u functions. Change-Id: Id75c72eba869c8a0f413ce8b5d6329ce172aed1f Reviewed-on: https://code.wireshark.org/review/17415 Petri-Dish: Dario Lombardo Reviewed-by: Roland Knall Reviewed-by: Peter Wu Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo --- extcap/ssh-base.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extcap/ssh-base.h') diff --git a/extcap/ssh-base.h b/extcap/ssh-base.h index 28a4b08acb..d407d309e8 100644 --- a/extcap/ssh-base.h +++ b/extcap/ssh-base.h @@ -27,6 +27,8 @@ #include +#include + #ifndef STDERR_FILENO #define STDERR_FILENO 2 #endif @@ -47,7 +49,7 @@ { "sshkey-passphrase", required_argument, NULL, OPT_SSHKEY_PASSPHRASE} /* Create a ssh connection using all the possible authentication menthods */ -ssh_session create_ssh_connection(const char* hostname, const unsigned int port, const char* username, +ssh_session create_ssh_connection(const char* hostname, const guint16 port, const char* username, const char* password, const char* sshkey_path, const char* sshkey_passphrase, char** err_info); /* Write a formatted message in the channel */ -- cgit v1.2.1