Make Dictionary templatable so it can be used where we want a higher capacity.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user