Changeset 40117 in vbox
- Timestamp:
- Feb 14, 2012 5:15:38 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 76258
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/libalias/alias.c
r40116 r40117 1247 1247 struct in_addr alias_addr; 1248 1248 struct ip *pip; 1249 #ifndef VBOX 1249 1250 int iresult; 1251 #else 1252 int iresult = PKT_ALIAS_IGNORED; 1253 #endif 1250 1254 1251 1255 if (la->packetAliasMode & PKT_ALIAS_REVERSE) { … … 1267 1271 } 1268 1272 1273 #ifndef VBOX 1269 1274 iresult = PKT_ALIAS_IGNORED; 1275 #endif 1270 1276 if ((ntohs(pip->ip_off) & IP_OFFMASK) == 0) { 1271 1277 switch (pip->ip_p) { … … 1369 1375 ) 1370 1376 { 1377 #ifndef VBOX 1371 1378 int iresult; 1379 #else 1380 int iresult = PKT_ALIAS_IGNORED; 1381 #endif 1372 1382 struct in_addr addr_save; 1373 1383 struct ip *pip; … … 1410 1420 SetDefaultAliasAddress(la, pip->ip_src); 1411 1421 } 1422 #ifndef VBOX 1412 1423 iresult = PKT_ALIAS_IGNORED; 1424 #endif 1413 1425 if ((ntohs(pip->ip_off) & IP_OFFMASK) == 0) { 1414 1426 switch (pip->ip_p) {
Note:
See TracChangeset
for help on using the changeset viewer.