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