Browse Source

net/wgpeerselector: keep same datatype on ubus status (#250)

airtime-fixes
genofire 2 months ago
committed by GitHub
parent
commit
b4858b1509
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      net/wgpeerselector/files/usr/bin/wgpeerselector

4
net/wgpeerselector/files/usr/bin/wgpeerselector

@ -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…
Cancel
Save