Make Dictionary templatable so it can be used where we want a higher capacity.
This commit is contained in:
parent
3ee15e65aa
commit
b2d048aa0e
12 changed files with 67 additions and 49 deletions
|
@ -95,7 +95,7 @@ LinuxEthernetTap::LinuxEthernetTap(
|
|||
// Try to recall our last device name, or pick an unused one if that fails.
|
||||
bool recalledDevice = false;
|
||||
std::string devmapbuf;
|
||||
Dictionary devmap;
|
||||
Dictionary<8194> devmap;
|
||||
if (OSUtils::readFile((_homePath + ZT_PATH_SEPARATOR_S + "devicemap").c_str(),devmapbuf)) {
|
||||
devmap.load(devmapbuf.c_str());
|
||||
char desiredDevice[128];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue