net/wgpeerselector: keep same datatype on ubus status
This commit is contained in:
parent
0a334b837f
commit
1facb9143b
|
@ -323,9 +323,7 @@ function WGPeerSelector:status()
|
|||
established = established
|
||||
}
|
||||
else
|
||||
result.peers[peer.name] = false -- Fastd uses "null" here, but unfortunately
|
||||
-- lua does not support setting table_keys to
|
||||
-- nil.
|
||||
result.peers[peer.name] = { }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue