URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=77bfed29bafb8bb4eb4c672a3b825ad178cc93eb
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark
Commits:
77bfed2 by Roland Knall (roland.knall@xxxxxxxxxxxxxxxxx):
sshdump: Change ws_close to closesocket
ws_close just calls _close(); that doesn't close sockets. closesocket()
is the API to close a socket on Windows, and is defined as close()
on UN*X, so using closesocket() will close sockets on Windows and UN*X.
This way, we close the pipe socket correctly on Windows.
Change-Id: I6d50e26bfabac5618c74a180cbe94d444b591bd4
Reviewed-on: https://code.wireshark.org/review/16582
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 4a6089795aa3dfcfa9cc2839190b05a10642c63e)
Reviewed-on: https://code.wireshark.org/review/16594
Actions performed:
from a2ebb9b Fix a Windows library path definition.
adds 77bfed2 sshdump: Change ws_close to closesocket
Summary of changes:
extcap/sshdump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)