mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Switching the prefix separator for packet source/dumper plugins once
more, now to "::". Addresses BIT-1267.
This commit is contained in:
parent
56a2a1a1e5
commit
38beb6632e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue