Changeset 40114 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Feb 14, 2012 2:43:39 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 76255
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/libalias/alias.c
r39101 r40114 1247 1247 struct in_addr alias_addr; 1248 1248 struct ip *pip; 1249 #ifndef VBOX 1249 1250 int iresult; 1251 #else 1252 /* vbox: we need initialize iresult from the very beginning to avoid 1253 * returning of uninitiolized value on first getout. */ 1254 int iresult = PKT_ALIAS_IGNORED; 1255 #endif 1250 1256 1251 1257 if (la->packetAliasMode & PKT_ALIAS_REVERSE) { … … 1267 1273 } 1268 1274 1275 #ifndef VBOX 1269 1276 iresult = PKT_ALIAS_IGNORED; 1277 #endif 1270 1278 if ((ntohs(pip->ip_off) & IP_OFFMASK) == 0) { 1271 1279 switch (pip->ip_p) {
Note:
See TracChangeset
for help on using the changeset viewer.