File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ func TestDecodeProtobuf(t *testing.T) {
5858 "SrcMac" : "01:02:03:04:05:06" ,
5959 "SrcPort" : uint32 (23000 ),
6060 "DstPort" : uint32 (443 ),
61+ "Duplicate" : false ,
6162 "Etype" : uint32 (2048 ),
6263 "Packets" : uint64 (123 ),
6364 "Proto" : uint32 (1 ),
@@ -77,6 +78,7 @@ func TestPBFlowToMap(t *testing.T) {
7778 Direction : pbflow .Direction_EGRESS ,
7879 TimeFlowStart : timestamppb .New (someTime ),
7980 TimeFlowEnd : timestamppb .New (someTime ),
81+ Duplicate : true ,
8082 Network : & pbflow.Network {
8183 SrcAddr : & pbflow.IP {
8284 IpFamily : & pbflow.IP_Ipv4 {Ipv4 : 0x01020304 },
@@ -108,6 +110,7 @@ func TestPBFlowToMap(t *testing.T) {
108110 "SrcMac" : "01:02:03:04:05:06" ,
109111 "SrcPort" : uint32 (23000 ),
110112 "DstPort" : uint32 (443 ),
113+ "Duplicate" : true ,
111114 "Etype" : uint32 (2048 ),
112115 "Packets" : uint64 (123 ),
113116 "Proto" : uint32 (1 ),
Original file line number Diff line number Diff line change @@ -220,6 +220,7 @@ parameters:
220220 "SrcMac" : "01:02:03:04:05:06" ,
221221 "SrcPort" : float64 (23000 ),
222222 "DstPort" : float64 (443 ),
223+ "Duplicate" : false ,
223224 "Etype" : float64 (2048 ),
224225 "Packets" : float64 (123 ),
225226 "Proto" : float64 (1 ),
You can’t perform that action at this time.
0 commit comments