MTU support in controller.
This commit is contained in:
parent
107e3e4106
commit
909a14fb48
3 changed files with 8 additions and 0 deletions
|
@ -162,6 +162,7 @@ private:
|
|||
if (!network.count("tags")) network["tags"] = nlohmann::json::array();
|
||||
if (!network.count("routes")) network["routes"] = nlohmann::json::array();
|
||||
if (!network.count("ipAssignmentPools")) network["ipAssignmentPools"] = nlohmann::json::array();
|
||||
if (!network.count("mtu")) network["mtu"] = ZT_DEFAULT_MTU;
|
||||
if (!network.count("rules")) {
|
||||
// If unspecified, rules are set to allow anything and behave like a flat L2 segment
|
||||
network["rules"] = {{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue