From 1facb9143b4f9ad5cae29aa0ef5f2235f5b60fa7 Mon Sep 17 00:00:00 2001 From: genofire Date: Thu, 30 Sep 2021 20:16:35 +0200 Subject: [PATCH] net/wgpeerselector: keep same datatype on ubus status --- net/wgpeerselector/files/usr/bin/wgpeerselector | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/net/wgpeerselector/files/usr/bin/wgpeerselector b/net/wgpeerselector/files/usr/bin/wgpeerselector index e2eac07..35c395b 100755 --- a/net/wgpeerselector/files/usr/bin/wgpeerselector +++ b/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