mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 17:04:33 +04:00
cjdns: support the supernodes feature (#884)
Signed-off-by: William Fleurant <meshnet@protonmail.com>
This commit is contained in:
@@ -18,7 +18,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-cjdns
|
||||
PKG_VERSION:=1.3
|
||||
PKG_RELEASE:=8
|
||||
PKG_RELEASE:=9
|
||||
|
||||
PKG_MAINTAINER:=William Fleurant <meshnet@protonmail.com>
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
|
||||
@@ -70,4 +70,13 @@ eth_peers:option(Value, "address", translate("MAC address")).datatype = "macaddr
|
||||
eth_peers:option(Value, "public_key", translate("Public key"))
|
||||
eth_peers:option(Value, "password", translate("Password"))
|
||||
|
||||
-- Supernodes
|
||||
supernodes = m:section(TypedSection, "supernodes", translate("List of Supernodes"),
|
||||
translate("If none are specified they'll be taken from your peers"))
|
||||
supernodes.anonymous = true
|
||||
supernodes.addremove = true
|
||||
supernodes.template = "cbi/tblsection"
|
||||
|
||||
supernodes:option(Value, "public_key", translate("Public Key")).size = 55
|
||||
|
||||
return m
|
||||
|
||||
Reference in New Issue
Block a user