Browse Source

fixup! Bot linking: Try each IP returned from DNS.

Bryan Drewery 5 tháng trước cách đây
mục cha
commit
3eb0c5a4a3
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/botnet.cc

+ 2 - 0
src/botnet.cc

@@ -1177,6 +1177,8 @@ retries_exhausted:
   dcc[i].addr = inet_addr(ip_from_dns.c_str());
   strlcpy(dcc[i].host, ip_from_dns.c_str(), sizeof(dcc[i].host));
 
+  putlog(LOG_BOTS, "*", "Linking to %s at %s (%s) ...", dcc[i].nick,
+      dcc[i].host, ip_from_dns.c_str());
   botlink_real(i);
 }