Changeset 107440 in vbox
- Timestamp:
- Jan 6, 2025 6:43:28 PM (12 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/NATNetworkImpl.cpp
r106061 r107440 1082 1082 for (off = 1; off < ~netmask.u; ++off) 1083 1083 { 1084 bool skip = false;1085 1084 for (settings::NATLoopbackOffsetList::iterator it = m->s.llHostLoopbackOffsetList.begin(); 1086 1085 it != m->s.llHostLoopbackOffsetList.end(); … … 1088 1087 { 1089 1088 if ((*it).u32Offset == off) 1090 { 1091 skip = true; 1092 break; 1093 } 1094 1089 continue; 1095 1090 } 1096 1097 if (skip)1098 continue;1099 1091 1100 1092 if (off == m->offGateway) … … 1105 1097 continue; 1106 1098 } 1107 1108 if (off == m->offDhcp) 1099 else if (off == m->offDhcp) 1109 1100 { 1110 1101 if (addrType == ADDR_DHCP) … … 1113 1104 continue; 1114 1105 } 1115 1116 if (!skip) 1106 else 1117 1107 break; 1118 1108 }
Note:
See TracChangeset
for help on using the changeset viewer.