mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
Avoid a macro name conflict on FreeBSD.
This commit is contained in:
parent
b722fe4540
commit
61eea09395
2 changed files with 4 additions and 4 deletions
|
@ -81,7 +81,7 @@ refine connection RFB_Conn += {
|
|||
if ( client )
|
||||
{
|
||||
// Set protocol version on client's version
|
||||
int minor_version = bytestring_to_int(${msg.minor},10);
|
||||
int minor_version = bytestring_to_int(${msg.minor_ver},10);
|
||||
version = minor_version;
|
||||
|
||||
// Apple specifies minor version "889" but talks v37
|
||||
|
|
|
@ -17,13 +17,13 @@ enum states {
|
|||
|
||||
type RFBProtocolVersion (client: bool) = record {
|
||||
header: "RFB ";
|
||||
major: bytestring &length=3;
|
||||
major_ver: bytestring &length=3;
|
||||
dot: ".";
|
||||
minor: bytestring &length=3;
|
||||
minor_ver: bytestring &length=3;
|
||||
pad: uint8;
|
||||
} &let {
|
||||
proc: bool = $context.connection.handle_banners(client, this);
|
||||
proc2: bool = $context.flow.proc_rfb_version(client, major, minor);
|
||||
proc2: bool = $context.flow.proc_rfb_version(client, major_ver, minor_ver);
|
||||
}
|
||||
|
||||
type RFBSecurityTypes = record {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue