Skip to content

Commit f06b0a2

Browse files
committed
adapt new pubkey_privacy function to provider API
This is relevant for the upcoming gluon release
1 parent a0dc5d7 commit f06b0a2

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

  • ff-mesh-vpn-tunneldigger/luasrc/usr/lib/lua/gluon/mesh-vpn/provider
  • ffbs-mesh-vpn-parker/luasrc/usr/lib/lua/gluon/mesh-vpn/provider
  • ffmuc-mesh-vpn-wireguard-vxlan/luasrc/usr/lib/lua/gluon/mesh-vpn/provider

ff-mesh-vpn-tunneldigger/luasrc/usr/lib/lua/gluon/mesh-vpn/provider/tunneldigger.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@ function M.mtu()
4343
return site.mesh_vpn.tunneldigger.mtu()
4444
end
4545

46+
function M.pubkey_privacy()
47+
-- pubkey_privacy is not needed as no key exists
48+
return false
49+
end
50+
4651
return M

ffbs-mesh-vpn-parker/luasrc/usr/lib/lua/gluon/mesh-vpn/provider/parker.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,10 @@ function M.set_limit(ingress_limit, egress_limit) -- luacheck: ignore
3535
-- raising exceptions.
3636
end
3737

38+
function M.pubkey_privacy()
39+
-- pubkey_privacy is not needed as parker uses wireguard
40+
return false
41+
end
42+
3843

3944
return M

ffmuc-mesh-vpn-wireguard-vxlan/luasrc/usr/lib/lua/gluon/mesh-vpn/provider/wireguard.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@ function M.mtu()
4343
return site.mesh_vpn.wireguard.mtu()
4444
end
4545

46+
function M.pubkey_privacy()
47+
-- wireguard does not need pubkey_privacy
48+
return false
49+
end
50+
4651
return M

0 commit comments

Comments
 (0)