1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-17 04:33:59 +02:00

net/wgpeerselector: keep same datatype on ubus status

This commit is contained in:
genofire 2021-09-30 20:16:35 +02:00
parent 0a334b837f
commit 1facb9143b

View File

@ -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