Switching the prefix separator for packet source/dumper plugins once

more, now to "::".

Addresses BIT-1267.
This commit is contained in:
Robin Sommer 2014-10-07 15:27:16 -07:00
parent 56a2a1a1e5
commit 38beb6632e

View file

@ -204,11 +204,11 @@ static std::pair<std::string, std::string> split_prefix(std::string path)
// PktSrc to use. If not, choose default.
std::string prefix;
std::string::size_type i = path.find("%");
std::string::size_type i = path.find("::");
if ( i != std::string::npos )
{
prefix = path.substr(0, i);
path = path.substr(++i, std::string::npos);
path = path.substr(i + 2, std::string::npos);
}
else