mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Minor fixes Line 76 and Line
Line 76: Replaced ' for ; Line 120: Replaced ojbects to objects I tested it on my cloned repo and everything seems to compile without errors (Ubuntu Bionic Beaver) regarding the DNP3 Protocol
This commit is contained in:
parent
8b9d525097
commit
3fc2325416
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ type DNP3_Response = record {
|
||||||
default -> unknown: Debug_Byte;
|
default -> unknown: Debug_Byte;
|
||||||
};
|
};
|
||||||
} &byteorder = bigendian
|
} &byteorder = bigendian
|
||||||
&length= 9 + addin_header.len - 5 - 1'
|
&length= 9 + addin_header.len - 5 - 1;
|
||||||
|
|
||||||
type DNP3_Application_Request_Header = record {
|
type DNP3_Application_Request_Header = record {
|
||||||
empty: bytestring &length = 0; # Work-around BinPAC problem.
|
empty: bytestring &length = 0; # Work-around BinPAC problem.
|
||||||
|
@ -117,7 +117,7 @@ type Response_Objects(function_code: uint8) = record {
|
||||||
0x0301 -> diwoflag: Response_Data_Object(function_code, object_header.qualifier_field, object_header.object_type_field )[ ( object_header.number_of_item / 8 ) + 1*( object_header.number_of_item > ( (object_header.number_of_item / 8)*8 ) ) ];
|
0x0301 -> diwoflag: Response_Data_Object(function_code, object_header.qualifier_field, object_header.object_type_field )[ ( object_header.number_of_item / 8 ) + 1*( object_header.number_of_item > ( (object_header.number_of_item / 8)*8 ) ) ];
|
||||||
0x0a01 -> bowoflag: Response_Data_Object(function_code, object_header.qualifier_field, object_header.object_type_field )[ ( object_header.number_of_item / 8 ) + 1*( object_header.number_of_item > ( (object_header.number_of_item / 8)*8 ) )];
|
0x0a01 -> bowoflag: Response_Data_Object(function_code, object_header.qualifier_field, object_header.object_type_field )[ ( object_header.number_of_item / 8 ) + 1*( object_header.number_of_item > ( (object_header.number_of_item / 8)*8 ) )];
|
||||||
0x0c03 -> bocmd_PM: Response_Data_Object(function_code, object_header.qualifier_field, object_header.object_type_field )[ ( object_header.number_of_item / 8 ) + 1*( object_header.number_of_item > ( (object_header.number_of_item / 8)*8 ) )];
|
0x0c03 -> bocmd_PM: Response_Data_Object(function_code, object_header.qualifier_field, object_header.object_type_field )[ ( object_header.number_of_item / 8 ) + 1*( object_header.number_of_item > ( (object_header.number_of_item / 8)*8 ) )];
|
||||||
default -> ojbects: Response_Data_Object(function_code, object_header.qualifier_field, object_header.object_type_field )[ object_header.number_of_item];
|
default -> objects: Response_Data_Object(function_code, object_header.qualifier_field, object_header.object_type_field )[ object_header.number_of_item];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue