Changeset 50068 in vbox
- Timestamp:
- Jan 14, 2014 2:58:46 AM (11 years ago)
- Location:
- trunk/src/VBox/NetworkServices/NAT
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/Makefile.kmk
r50067 r50068 88 88 # ifn1of ($(KBUILD_TARGET), darwin win) 89 89 # # helper for debugging unprivileged 90 # VBoxNetLwipNAT_DEFS += VBOX_RAWSOCK_DEBUG_HELPER 90 91 # VBoxNetLwipNAT_SOURCES += getrawsock.c 91 92 # endif -
trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp
r50002 r50068 100 100 #include "portfwd.h" 101 101 } 102 103 104 #if defined(VBOX_RAWSOCK_DEBUG_HELPER) \ 105 && (defined(VBOX_WITH_HARDENING) \ 106 || defined(RT_OS_WINDOWS) \ 107 || defined(RT_OS_DARWIN)) 108 # error Have you forgotten to turn off VBOX_RAWSOCK_DEBUG_HELPER? 109 #endif 110 111 #ifdef VBOX_RAWSOCK_DEBUG_HELPER 112 extern "C" int getrawsock(int type); 113 #endif 102 114 103 115 #include "../NetLib/VBoxPortForwardString.h" … … 983 995 { 984 996 perror("IPPROTO_ICMP"); 997 #ifdef VBOX_RAWSOCK_DEBUG_HELPER 998 icmpsock4 = getrawsock(AF_INET); 999 #endif 985 1000 } 986 1001 … … 1009 1024 { 1010 1025 perror("IPPROTO_ICMPV6"); 1026 #ifdef VBOX_RAWSOCK_DEBUG_HELPER 1027 icmpsock6 = getrawsock(AF_INET6); 1028 #endif 1011 1029 } 1012 1030
Note:
See TracChangeset
for help on using the changeset viewer.