From f076b37ba35e654e3d5cfbb5d47e580481391dcc Mon Sep 17 00:00:00 2001 From: wessels <> Date: Tue, 21 Oct 1997 21:59:11 +0000 Subject: [PATCH] assertion for ipcache ABR wierdness --- src/comm.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/comm.cc b/src/comm.cc index e893400cc7..16091c5062 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,5 +1,5 @@ /* - * $Id: comm.cc,v 1.187 1997/10/20 19:24:59 wessels Exp $ + * $Id: comm.cc,v 1.188 1997/10/21 15:59:11 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -330,6 +330,7 @@ commConnectDnsHandle(const ipcache_addrs * ia, void *data) commConnectCallback(cs, COMM_ERR_DNS); return; } + assert(ia->cur < ia->count); cs->in_addr = ia->in_addrs[ia->cur]; commConnectHandle(cs->fd, cs); } -- 2.47.3