Changing prefix for packet sources/dumper from ':' to '%'.

Addresses BIT-1249.
This commit is contained in:
Robin Sommer 2014-09-25 17:53:27 -07:00
parent ea1803881d
commit cce09b75de
11 changed files with 25 additions and 11 deletions

View file

@ -201,7 +201,7 @@ 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);