* rebind-ip-fixes: * Update docs * Fix DNS/Server sockets getting stuck when its socket was closed via fatal()
@@ -8,6 +8,7 @@
* Fix bot getting killed on OpenBSD 4.7 on startup
* Ignore 'pflog' interfaces in promisc
* Fix buffer overflow in DCC
+* Fix problems with changing IP
1.3 - http://wraith.botpack.net/milestone/1.3
* Binary / shell / startup changes
@@ -590,6 +590,11 @@ lostdcc(int n)
if (n == uplink_idx)
uplink_idx = -1;
+ else if (n == dns_idx)
+ dns_idx = -1;
+ else if (n == servidx)
+ servidx = -1;
+
if (dcc[n].type && dcc[n].type->kill)
dcc[n].type->kill(n, dcc[n].u.other);