- Timestamp:
- Nov 28, 2013 11:47:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp
r49689 r49710 1240 1240 }; 1241 1241 1242 int status = setsockopt(icmpsock4, icmpstype, ICMP_FILTER,1242 int status = setsockopt(icmpsock4, SOL_RAW, ICMP_FILTER, 1243 1243 &flt, sizeof(flt)); 1244 1244 if (status < 0) … … 1249 1249 } 1250 1250 1251 icmpsock6 = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6);1251 icmpsock6 = socket(AF_INET6, icmpstype, IPPROTO_ICMPV6); 1252 1252 if (icmpsock6 == INVALID_SOCKET) 1253 1253 {
Note:
See TracChangeset
for help on using the changeset viewer.