mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Propagate failure reason in spicy::decline_input
/zeek::reject_protocol
.
Closes #3276.
This commit is contained in:
parent
7e11501d3c
commit
d7c3e0ac69
8 changed files with 50 additions and 7 deletions
|
@ -275,7 +275,7 @@ void confirm_protocol();
|
|||
*
|
||||
* @param reason short description of what went wrong
|
||||
*/
|
||||
void reject_protocol(const std::string& reason);
|
||||
void reject_protocol(const std::string& reason = "protocol rejected");
|
||||
|
||||
/**
|
||||
* Opaque handle to a protocol analyzer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue