reverted unintentional change

This commit is contained in:
Arvid Norberg 2009-07-26 01:15:01 +00:00
parent eb66830dc3
commit c43229f89c
1 changed files with 0 additions and 13 deletions

View File

@ -552,8 +552,6 @@ void add_torrent(libtorrent::session& ses
p.auto_managed = true;
torrent_handle h = ses.add_torrent(p, ec);
h.connect_peer(tcp::endpoint(address::from_string("10.0.1.4"), 6881));
handles.insert(std::make_pair(
monitored_dir?std::string(torrent):std::string(), h));
@ -964,17 +962,6 @@ int main(int argc, char* argv[])
ses.set_settings(settings);
ip_filter filter;
filter.add_rule(
address_v4::from_string("0.0.0.0")
, address_v4::from_string("255.255.255.255")
, ip_filter::blocked);
filter.add_rule(
address_v4::from_string("10.0.1.4")
, address_v4::from_string("10.0.1.4")
, 0);
ses.set_ip_filter(filter);
// main loop
std::vector<peer_info> peers;
std::vector<partial_piece_info> queue;