* luci/libs/ip: fix add()
This commit is contained in:
parent
25dd9c5f9b
commit
f7f683579f
1 changed files with 1 additions and 1 deletions
|
@ -303,5 +303,5 @@ function cidr.add( self, amount )
|
|||
end
|
||||
end
|
||||
|
||||
return __bless({ self[1], data, self:is4() and 32 and 128 })
|
||||
return __bless({ self[1], data, self[3] })
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue