Cygwin: Return port number from getservent in network byte order
* netdb.cc (parse_services_line): Convert port number to network byte order. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -23,3 +23,7 @@ Bug Fixes
|
||||
|
||||
- Include <sys/ucontext.h> from <sys/signal.h> if compiling for POSIX.1-2008.
|
||||
Addresses: https://cygwin.com/ml/cygwin/2015-08/msg00266.html
|
||||
|
||||
- getservent(3) returned the port number in host byte order. Change that to
|
||||
network byte order as required.
|
||||
Addresses: https://cygwin.com/ml/cygwin/2015-08/msg00301.html
|
||||
|
Reference in New Issue
Block a user