Changeset 49114 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 15, 2013 9:40:09 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageNATNetwork.cpp
r48950 r49114 85 85 typedef struct PFNAME2DELETE 86 86 { 87 char aszName[PF_NAMELEN];87 char szName[PF_NAMELEN]; 88 88 bool fIPv6; 89 89 } PFNAME2DELETE, *PPFNAME2DELETE; … … 246 246 247 247 RT_ZERO(Name2Delete); 248 RTStrCopy(Name2Delete. aszName, PF_NAMELEN, NamePf2DeleteUnion.psz);248 RTStrCopy(Name2Delete.szName, PF_NAMELEN, NamePf2DeleteUnion.psz); 249 249 Name2Delete.fIPv6 = (c == 'P'); 250 250 … … 348 348 { 349 349 CHECK_ERROR(net, RemovePortForwardRule((BOOL)(*it).fIPv6, 350 Bstr((*it). aszName).raw()));350 Bstr((*it).szName).raw())); 351 351 if (FAILED(rc)) 352 352 return errorArgument("Failed to delete pf"); … … 368 368 369 369 CHECK_ERROR(net, AddPortForwardRule((BOOL)(*it).fPfrIPv6, 370 Bstr((*it). aszPfrName).raw(),370 Bstr((*it).szPfrName).raw(), 371 371 proto, 372 Bstr((*it). aszPfrHostAddr).raw(),372 Bstr((*it).szPfrHostAddr).raw(), 373 373 (*it).u16PfrHostPort, 374 Bstr((*it). aszPfrGuestAddr).raw(),374 Bstr((*it).szPfrGuestAddr).raw(), 375 375 (*it).u16PfrGuestPort)); 376 376 if (FAILED(rc))
Note:
See TracChangeset
for help on using the changeset viewer.