parent
d720b282b8
commit
694127a875
|
@ -1229,7 +1229,8 @@ MAGNETURL is a magnet link
|
|||
{
|
||||
ip_filter pcf;
|
||||
pcf.add_rule(address_v4::from_string("0.0.0.0")
|
||||
, address_v4::from_string("255.255.255.255"), 1 << lt::session::global_peer_class_id);
|
||||
, address_v4::from_string("255.255.255.255")
|
||||
, 1 << static_cast<std::uint32_t>(lt::session::global_peer_class_id));
|
||||
#if TORRENT_USE_IPV6
|
||||
pcf.add_rule(address_v6::from_string("::")
|
||||
, address_v6::from_string("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"), 1);
|
||||
|
|
|
@ -1290,7 +1290,7 @@ namespace libtorrent
|
|||
// limited.
|
||||
//
|
||||
// A value of 0 means unlimited.
|
||||
//
|
||||
//
|
||||
// For fine grained control over rate limits, including making them apply
|
||||
// to local peers, see peer-classes_.
|
||||
upload_rate_limit,
|
||||
|
|
Loading…
Reference in New Issue