libs/core/ip: fix prefix length handling in Hex() constructor
This commit is contained in:
parent
a430b5c189
commit
fda52c6fec
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ function Hex( hex, prefix, family, swap )
|
|||
end
|
||||
end
|
||||
|
||||
return __bless({ family, data, len })
|
||||
return __bless({ family, data, prefix })
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue