Untested -- modifications to support IP ranges instead of ip/mask for IP assignment pools, also add portId to Rule for future use.
This commit is contained in:
parent
48a2ad032a
commit
5c9411a671
4 changed files with 224 additions and 176 deletions
|
@ -80,6 +80,13 @@ public:
|
|||
std::string &responseContentType);
|
||||
|
||||
private:
|
||||
enum IpAssignmentType {
|
||||
// IP assignment is a static IP address
|
||||
ZT_IP_ASSIGNMENT_TYPE_ADDRESS = 0,
|
||||
// IP assignment is a network -- a route via this interface, not an address
|
||||
ZT_IP_ASSIGNMENT_TYPE_NETWORK = 1
|
||||
};
|
||||
|
||||
unsigned int _doCPGet(
|
||||
const std::vector<std::string> &path,
|
||||
const std::map<std::string,std::string> &urlArgs,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue