mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Changing prefix for packet sources/dumper from ':' to '%'.
Addresses BIT-1249.
This commit is contained in:
parent
ea1803881d
commit
cce09b75de
11 changed files with 25 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue