Refactor controller to send both old and new format netconf.
This commit is contained in:
parent
37b89b3944
commit
7ee3743c3d
2 changed files with 311 additions and 258 deletions
|
@ -168,8 +168,7 @@ void NetworkConfig::fromDictionary(const char *ds,unsigned int dslen)
|
|||
rules[ruleCount].v.etherType = (uint16_t)et2;
|
||||
++ruleCount;
|
||||
}
|
||||
rules[ruleCount].t = ZT_NETWORK_RULE_ACTION_ACCEPT;
|
||||
++ruleCount;
|
||||
rules[ruleCount++].t = ZT_NETWORK_RULE_ACTION_ACCEPT;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue