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