libs/core/ip: fix prefix length handling in Hex() constructor

This commit is contained in:
Jo-Philipp Wich 2008-11-26 22:29:14 +00:00
parent a430b5c189
commit fda52c6fec

View file

@ -314,7 +314,7 @@ function Hex( hex, prefix, family, swap )
end
end
return __bless({ family, data, len })
return __bless({ family, data, prefix })
end