From c43229f89c9dc9baef7f432011e9eeee26ea8b73 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 26 Jul 2009 01:15:01 +0000 Subject: [PATCH] reverted unintentional change --- examples/client_test.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index 48a808183..476291a83 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -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 peers; std::vector queue;