Add an option to not error out when only a local IP address can be found.
[quix0rs-apt-p2p.git] / apt_dht / apt_dht_conf.py
index 621ef367e9e999a440ea82a278aa57e4ef077fcd..4f77d6f61188ad0550cce674c182b18b9d9cff2a 100644 (file)
@@ -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>.DHT import DHT" to get a class that