- Timestamp:
- Nov 8, 2010 10:46:45 AM (14 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/NATEngineImpl.cpp
r33825 r33827 246 246 BstrFmt bstr("%s,%d,%s,%d,%s,%d", 247 247 r.strName.c_str(), 248 r. u32Proto,248 r.proto, 249 249 r.strHostIP.c_str(), 250 250 r.u16HostPort, … … 283 283 name = Utf8StrFmt("%s_%d_%d", proto, aHostPort, aGuestPort); 284 284 r.strName = name.c_str(); 285 r. u32Proto = aProto;285 r.proto = aProto; 286 286 r.strHostIP = aBindIp; 287 287 r.u16HostPort = aHostPort; … … 310 310 Utf8Str strHostIP = r.strHostIP; 311 311 Utf8Str strGuestIP = r.strGuestIP; 312 NATProtocol_T proto = r. u32Proto;312 NATProtocol_T proto = r.proto; 313 313 uint16_t u16HostPort = r.u16HostPort; 314 314 uint16_t u16GuestPort = r.u16GuestPort; -
trunk/src/VBox/Main/xml/Settings.cpp
r33731 r33827 2036 2036 uint32_t port = 0; 2037 2037 (*pf)->getAttributeValue("name", rule.strName); 2038 (*pf)->getAttributeValue("proto", rule. u32Proto);2038 (*pf)->getAttributeValue("proto", rule.proto); 2039 2039 (*pf)->getAttributeValue("hostip", rule.strHostIP); 2040 2040 (*pf)->getAttributeValue("hostport", port); … … 3886 3886 if ((*rule).strName.length()) 3887 3887 pelmPF->setAttribute("name", (*rule).strName); 3888 pelmPF->setAttribute("proto", (*rule). u32Proto);3888 pelmPF->setAttribute("proto", (*rule).proto); 3889 3889 if ((*rule).strHostIP.length()) 3890 3890 pelmPF->setAttribute("hostip", (*rule).strHostIP);
Note:
See TracChangeset
for help on using the changeset viewer.