Changeset 48401 in vbox
- Timestamp:
- Sep 10, 2013 11:34:05 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp
r48397 r48401 67 67 # include <Windows.h> 68 68 # include <stdlib.h> 69 # ifdef INET_ADDRSTRLEN 70 /* On Windows INET_ADDRSTRLEN defined as 22 Ws2ipdef.h, because it include port number */ 71 # undef INET_ADDRSTRLEN 72 # endif 73 # define INET_ADDRSTRLEN 16 74 #else 75 # include <netinet/in.h> 69 76 #endif 70 77 71 #ifndef INET4_ADDRLEN72 # define INET4_ADDRLEN 1773 #endif74 78 75 79 #include "Config.h" … … 406 410 407 411 if ( pszTerm 408 && (pszTerm - pszLo2Off) < 16)412 && (pszTerm - pszLo2Off) <= INET_ADDRSTRLEN) 409 413 { 410 414
Note:
See TracChangeset
for help on using the changeset viewer.