mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
works (thanks to robin)
This commit is contained in:
parent
6e6073ff4c
commit
0eafeb0369
3 changed files with 3 additions and 1 deletions
|
@ -1508,3 +1508,5 @@ const parse_udp_tunnels = F &redef;
|
|||
# Load the logging framework here because it uses fairly deep integration with
|
||||
# BiFs and script-land defined types.
|
||||
@load base/frameworks/logging
|
||||
|
||||
@load base/input.bif
|
||||
|
|
|
@ -264,6 +264,7 @@ extern void init_net_var();
|
|||
#include "types.bif.netvar_h"
|
||||
#include "event.bif.netvar_h"
|
||||
#include "logging.bif.netvar_h"
|
||||
#include "input.bif.netvar_h"
|
||||
#include "reporter.bif.netvar_h"
|
||||
|
||||
#endif
|
||||
|
|
|
@ -9,7 +9,6 @@ module Input;
|
|||
|
||||
function Input::__create_reader%(reader: Input::Reader, source: string%) : bool
|
||||
%{
|
||||
exit(5);
|
||||
InputReader *the_reader = input_mgr->CreateReader(reader->AsEnumVal(), source->AsString()->CheckString());
|
||||
return new Val( the_reader != 0, TYPE_BOOL );
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue