Changeset 92594 in vbox for trunk/src/VBox/Frontends/VBoxManage/VBoxManageNATNetwork.cpp
- Timestamp:
- Nov 25, 2021 9:05:48 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageNATNetwork.cpp
r92372 r92594 108 108 109 109 CHECK_ERROR_BREAK(pNATNet, COMGETTER(IPv6Enabled)(&fVal)); 110 RTPrintf( Nat::tr("IPv6: %s\n"), fVal ? Nat::tr("Yes") : Nat::tr("No"));110 RTPrintf("IPv6: %s\n", fVal ? Nat::tr("Yes") : Nat::tr("No")); 111 111 112 112 CHECK_ERROR_BREAK(pNATNet, COMGETTER(IPv6Prefix)(strVal.asOutParam())); … … 279 279 if (RT_FAILURE(vrc)) 280 280 return errorSyntax(USAGE_NATNETWORK, 281 Nat::tr("Not enough par maters\n"));281 Nat::tr("Not enough parаmeters\n")); 282 282 283 283 vLoopback2Delete.push_back(std::string(Addr2Delete.psz)); … … 313 313 if (enmCode != OP_MODIFY) 314 314 return errorSyntax(USAGE_NATNETWORK, 315 Nat::tr("Port-forward could be deleted on modify 315 Nat::tr("Port-forward could be deleted on modify\n")); 316 316 317 317 RTGETOPTUNION NamePf2DeleteUnion; 318 318 int vrc = RTGetOptFetchValue(&GetState, &NamePf2DeleteUnion, RTGETOPT_REQ_STRING); 319 319 if (RT_FAILURE(vrc)) 320 return errorSyntax(USAGE_NATNETWORK, Nat::tr("Not enough par maters\n"));320 return errorSyntax(USAGE_NATNETWORK, Nat::tr("Not enough parаmeters\n")); 321 321 322 322 if (strlen(NamePf2DeleteUnion.psz) > PF_NAMELEN)
Note:
See TracChangeset
for help on using the changeset viewer.