mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Deprecate binpac::bytestring_to_val, replace with binpac::to_stringval
This commit is contained in:
parent
81517bd703
commit
743303950b
18 changed files with 63 additions and 61 deletions
|
@ -9,11 +9,11 @@ enum Trans_subcommands {
|
|||
{
|
||||
switch ( payload->trans_type() ) {
|
||||
case SMB_PIPE:
|
||||
return {AdoptRef{}, bytestring_to_val(payload->pipe_data())};
|
||||
return to_stringval(payload->pipe_data());
|
||||
case SMB_UNKNOWN:
|
||||
return {AdoptRef{}, bytestring_to_val(payload->unknown())};
|
||||
return to_stringval(payload->unknown());
|
||||
default:
|
||||
return {AdoptRef{}, bytestring_to_val(payload->data())};
|
||||
return to_stringval(payload->data());
|
||||
}
|
||||
|
||||
assert(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue