mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Fix scripting error in a DHCP btest
This commit is contained in:
parent
53fadb2bb0
commit
d936607cc9
1 changed files with 8 additions and 4 deletions
|
@ -5,8 +5,12 @@
|
|||
|
||||
event DHCP::aggregate_msgs(ts: time, id: conn_id, uid: string, is_orig: bool, msg: DHCP::Msg, options: DHCP::Options) &priority=5
|
||||
{
|
||||
print "time_offset", options$time_offset;
|
||||
print "timeserver_list", options$time_servers;
|
||||
print "nameserver_list", options$name_servers;
|
||||
print "ntpserver_list", options$ntp_servers;
|
||||
if ( options?$time_offset )
|
||||
print "time_offset", options$time_offset;
|
||||
if ( options?$time_servers )
|
||||
print "timeserver_list", options$time_servers;
|
||||
if ( options?$name_servers )
|
||||
print "nameserver_list", options$name_servers;
|
||||
if ( options?$ntp_servers )
|
||||
print "ntpserver_list", options$ntp_servers;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue