Sum of two vectors of int

Description

There is a bug when adding two vectors.
It works for vector of count, but returns a vector filled iwth zeros for vector of int.

Her is my test case :

event bro_init()
{
local c1 : vector of count = { 1, 2 };
local c2 : vector of count = { 3, 4 };
local c3 = c1 + c2;
print c3;

local v1 : vector of int = { 1, 2 };
local v2 : vector of int = { 3, 4 };
local v3 = v1 + v2;
print v3;
}

Output is :

[4, 6]
[0, 0]

Environment

None

Assignee

Unassigned

Reporter

Fran├žois

Labels

External issue ID

None

Components

Affects versions

Priority

Normal
Configure