aboutsummaryrefslogtreecommitdiffstats
path: root/node/node.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-11-23 03:52:31 +0800
committerFelix Lange <fjl@twurst.com>2016-11-23 05:21:18 +0800
commite5edd3b983189790391dca5b2ae4a0e460cb7f42 (patch)
treefee7b38c781ccd8eb57f68c59a1142c53c9c8dcd /node/node.go
parenta47341cf96498332e2f0f67c1a6456c67831a5d0 (diff)
downloadgo-tangerine-e5edd3b983189790391dca5b2ae4a0e460cb7f42.tar
go-tangerine-e5edd3b983189790391dca5b2ae4a0e460cb7f42.tar.gz
go-tangerine-e5edd3b983189790391dca5b2ae4a0e460cb7f42.tar.bz2
go-tangerine-e5edd3b983189790391dca5b2ae4a0e460cb7f42.tar.lz
go-tangerine-e5edd3b983189790391dca5b2ae4a0e460cb7f42.tar.xz
go-tangerine-e5edd3b983189790391dca5b2ae4a0e460cb7f42.tar.zst
go-tangerine-e5edd3b983189790391dca5b2ae4a0e460cb7f42.zip
cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrict
Diffstat (limited to 'node/node.go')
-rw-r--r--node/node.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/node.go b/node/node.go
index d49ae3a45..4b56fba4c 100644
--- a/node/node.go
+++ b/node/node.go
@@ -165,6 +165,7 @@ func (n *Node) Start() error {
TrustedNodes: n.config.TrusterNodes(),
NodeDatabase: n.config.NodeDB(),
ListenAddr: n.config.ListenAddr,
+ NetRestrict: n.config.NetRestrict,
NAT: n.config.NAT,
Dialer: n.config.Dialer,
NoDial: n.config.NoDial,