diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-11-26 22:29:14 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-11-26 22:29:14 +0000 |
commit | fda52c6fec10b18c79bed23d8fa6972a3147139b (patch) | |
tree | 8e7f7d65380e52bf95a3dd448f8baa8458888cea /libs/core/luasrc | |
parent | a430b5c189bb5a19d9d69765750e55efb035e33c (diff) |
libs/core/ip: fix prefix length handling in Hex() constructor
Diffstat (limited to 'libs/core/luasrc')
-rw-r--r-- | libs/core/luasrc/ip.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core/luasrc/ip.lua b/libs/core/luasrc/ip.lua index bba701ae24..c5ebfcab0d 100644 --- a/libs/core/luasrc/ip.lua +++ b/libs/core/luasrc/ip.lua @@ -314,7 +314,7 @@ function Hex( hex, prefix, family, swap ) end end - return __bless({ family, data, len }) + return __bless({ family, data, prefix }) end |