File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ func main() {
40
40
writeAddr = flag .Bool ("writeaddress" , false , "write out the node's public key and quit" )
41
41
nodeKeyFile = flag .String ("nodekey" , "" , "private key filename" )
42
42
nodeKeyHex = flag .String ("nodekeyhex" , "" , "private key as hex (for testing)" )
43
- natdesc = flag .String ("nat" , "none" , "port mapping mechanism (any|none|upnp|pmp|extip:<IP>)" )
43
+ natdesc = flag .String ("nat" , "none" , "port mapping mechanism (any|none|upnp|pmp|pmp:<IP>| extip:<IP>)" )
44
44
netrestrict = flag .String ("netrestrict" , "" , "restrict network communication to the given IP networks (CIDR masks)" )
45
45
runv5 = flag .Bool ("v5" , false , "run a v5 topic discovery bootnode" )
46
46
verbosity = flag .Int ("verbosity" , int (log .LvlInfo ), "log verbosity (0-5)" )
Original file line number Diff line number Diff line change @@ -828,7 +828,7 @@ var (
828
828
}
829
829
NATFlag = & cli.StringFlag {
830
830
Name : "nat" ,
831
- Usage : "NAT port mapping mechanism (any|none|upnp|pmp|extip:<IP>)" ,
831
+ Usage : "NAT port mapping mechanism (any|none|upnp|pmp|pmp:<IP>| extip:<IP>)" ,
832
832
Value : "any" ,
833
833
Category : flags .NetworkingCategory ,
834
834
}
You can’t perform that action at this time.
0 commit comments