Skip to content

Commit

Permalink
Fixes missing virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoBiscosi committed Sep 10, 2024
1 parent d4cb75a commit bf66ccd
Show file tree
Hide file tree
Showing 3 changed files with 1,435 additions and 1,423 deletions.
2 changes: 1 addition & 1 deletion include/flow_checks/UnexpectedServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class UnexpectedServer : public FlowCheck {
virtual FlowAlertType getAlertType() const = 0;

protected:
bool isAllowedHost(Flow *f) { return (false); }
virtual bool isAllowedHost(Flow *f) { return (false); }

virtual bool isAllowedProto(Flow *f) { return (false); }
virtual const IpAddress *getServerIP(Flow *f) {
Expand Down
Loading

0 comments on commit bf66ccd

Please sign in to comment.