summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/qbittorrent/files/qbittorrent_spoof_utorrent.diff')
-rw-r--r--net-p2p/qbittorrent/files/qbittorrent_spoof_utorrent.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-p2p/qbittorrent/files/qbittorrent_spoof_utorrent.diff b/net-p2p/qbittorrent/files/qbittorrent_spoof_utorrent.diff
new file mode 100644
index 0000000..9607880
--- /dev/null
+++ b/net-p2p/qbittorrent/files/qbittorrent_spoof_utorrent.diff
@@ -0,0 +1,17 @@
+diff -U0 -r qbittorrent-2.6.4.orig/src/qtlibtorrent/qbtsession.cpp qbittorrent-2.6.4/src/qtlibtorrent/qbtsession.cpp
+--- qbittorrent-2.6.4.orig/src/qtlibtorrent/qbtsession.cpp 2011-02-02 14:30:43.295000066 +0200
++++ qbittorrent-2.6.4/src/qtlibtorrent/qbtsession.cpp 2011-02-02 14:40:54.988000061 +0200
+@@ -104,5 +104,5 @@
+- version << VERSION_MAJOR;
+- version << VERSION_MINOR;
+- version << VERSION_BUGFIX;
+- version << VERSION_TYPE;
+- const QString peer_id = "qB";
++ version << 2;
++ version << 2;
++ version << 0;
++ version << 0;
++ const QString peer_id = "UT";
+@@ -371 +371 @@
+- sessionSettings.user_agent = "qBittorrent "VERSION;
++ sessionSettings.user_agent = "uTorrent/2200(24402)";