libs/ip: return a copy of given tables in __mask16() to avoid destroying them later
This commit is contained in:
parent
75e9772baa
commit
870397a3cd
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ local function __array16( x, family )
|
|||
list = { unpack(x[2]) }
|
||||
|
||||
elseif type(x) == "table" then
|
||||
list = x
|
||||
list = { unpack(x) }
|
||||
end
|
||||
|
||||
assert( list, "Invalid operand" )
|
||||
|
|
Loading…
Reference in a new issue