mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Unknown data link type error message printed out props.link_type instead of arg_props.link_type. It lead to the meaningless and misleading output (E.g.: 'unknown data link type 0xffffffff')
This commit is contained in:
parent
3a70289e91
commit
cd2ec7c495
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ void PktSrc::Opened(const Properties& arg_props)
|
|||
{
|
||||
char buf[512];
|
||||
safe_snprintf(buf, sizeof(buf),
|
||||
"unknown data link type 0x%x", props.link_type);
|
||||
"unknown data link type 0x%x", arg_props.link_type);
|
||||
Error(buf);
|
||||
Close();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue