cmd/swarm: allow using a network interface by name for nat purposes (#1557)

This commit is contained in:
Rafael Matias
2019-07-16 09:35:04 +02:00
committed by GitHub
parent 9d96d9bef5
commit ad77f43b9d
3 changed files with 35 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ const (
SwarmEnvStoreCapacity = "SWARM_STORE_CAPACITY"
SwarmEnvStoreCacheCapacity = "SWARM_STORE_CACHE_CAPACITY"
SwarmEnvBootnodeMode = "SWARM_BOOTNODE_MODE"
SwarmEnvNATInterface = "SWARM_NAT_INTERFACE"
SwarmAccessPassword = "SWARM_ACCESS_PASSWORD"
SwarmAutoDefaultPath = "SWARM_AUTO_DEFAULTPATH"
SwarmGlobalstoreAPI = "SWARM_GLOBALSTORE_API"