-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::Access::Manager::RemoveIPSubnetLimit
Karel Donk edited this page Dec 11, 2019
·
1 revision
Removes an IP subnet limit from the instance.
-
Result<> RemoveIPSubnetLimit(const IPAddress::Family af, const String& cidr_lbits_str) noexcept;
-
Result<> RemoveIPSubnetLimit(const IPAddress::Family af, const UInt8 cidr_lbits) noexcept;
| Name | Description |
|---|---|
af |
The address family for which to remove the subnet limit. See QuantumGate::IPAddress::Family for more details. |
cidr_lbits |
The CIDR leading bits of the subnet, e.g. 16. |
cidr_lbits_str |
The CIDR leading bits of the subnet in string format, e.g. /16. |
Returns a QuantumGate::Result object equal to one of the following QuantumGate::ResultCodes:
| Value | Description |
|---|---|
QuantumGate::ResultCode::Succeeded |
The operation succeeded. |
QuantumGate::ResultCode::Failed |
The operation failed. |
QuantumGate::ResultCode::InvalidArgument |
The operation failed because an invalid argument was passed through. |