X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=blobdiff_plain;f=apt_dht%2Fapt_dht_conf.py;h=4f77d6f61188ad0550cce674c182b18b9d9cff2a;hp=621ef367e9e999a440ea82a278aa57e4ef077fcd;hb=61a8482b596a221a97e0f3cdcc7452468bee85f1;hpb=056a62b7b55e95a3a50d64d2e769d29b9eede4a9;ds=sidebyside diff --git a/apt_dht/apt_dht_conf.py b/apt_dht/apt_dht_conf.py index 621ef36..4f77d6f 100644 --- a/apt_dht/apt_dht_conf.py +++ b/apt_dht/apt_dht_conf.py @@ -32,6 +32,9 @@ DEFAULTS = { # User name to try and run as 'USERNAME': '', + + # Whether it's OK to use an IP addres from a known local/private range + 'LOCAL_OK': 'no', # Which DHT implementation to use. # It must be possile to do "from .DHT import DHT" to get a class that