diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2025-03-16 13:33:45 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2025-03-16 13:33:45 +0100 |
commit | 5ad8be875662e799ca8739e267b4879bb281a048 (patch) | |
tree | 1b44e7d6fd8446f8c3e2fc8f1ef3af281d590fab /util/itsol.c | |
parent | 9641459c047738b492ab6002a9d38d286e237721 (diff) | |
parent | b5b2075a902277c33d7cf1b82f49f0fac7ef4cb9 (diff) |
Update upstream source from tag 'upstream/3.2.1'
Update to upstream version '3.2.1'
with Debian dir d1f78609c2f728d0641d47c8ca34241c348f8f21
Diffstat (limited to 'util/itsol.c')
-rw-r--r-- | util/itsol.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/itsol.c b/util/itsol.c index e84bd5a..12071ec 100644 --- a/util/itsol.c +++ b/util/itsol.c @@ -118,9 +118,9 @@ static SOCKADDR_T haddr; static int haddrlen = 0; static int hauth, hpriv, hcipher; #ifdef WIN32 -#define NI_MAXHOST 80 -#define NI_MAXSERV 80 -struct pollfd { int fd; short events; short revents; }; +// #define NI_MAXHOST 80 +// #define NI_MAXSERV 80 +// struct pollfd { int fd; short events; short revents; }; struct winsize { int x; int y; }; #else static struct termios _saved_tio; @@ -499,7 +499,7 @@ ipmi_tsol_main(void * intf, int argc, char ** argv) } get_lan_options(hostname,NULL,NULL,&hauth, &hpriv, &hcipher,NULL,NULL); - result = open_sockfd(hostname, &sockfd, &haddr, &haddrlen, 1); + result = open_sockfd(hostname, port, &sockfd, &haddr, &haddrlen, 1); if (result) { lperror(LOG_ERR, "Connect to %s failed",hostname); return result; |