made UPnP ignore devices that don't respond from a router IP (optional but on by default)

This commit is contained in:
Arvid Norberg
2008-01-07 05:48:28 +00:00
parent 1d6e0f5bf6
commit e05f396a5d
7 changed files with 52 additions and 4 deletions

View File

@@ -2446,6 +2446,7 @@ that will be sent to the tracker. The user-agent is a good way to identify your
int inactivity_timeout;
bool use_dht_as_fallback;
bool free_torrent_hashes;
bool upnp_ignore_nonrouters;
};
``user_agent`` this is the client identification to the tracker.
@@ -2578,6 +2579,11 @@ to false they are not freed. If they are freed, the torrent_info_ returned
by get_torrent_info() will return an object that may be incomplete, that
cannot be passed back to `add_torrent()`_ for instance.
``upnp_ignore_nonrouters`` indicates whether or not the UPnP implementation
should ignore any broadcast response from a device whose address is not the
configured router for this machine. i.e. it's a way to not talk to other
people's routers by mistake.
pe_settings
===========