X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/secnet/blobdiff_plain/84dcd42dbf0f412cb0daffc44ceb9c2baf25657e..11b2ccd56cb7313f4994b03a4d16b0513bdcc23d:/polypath.c diff --git a/polypath.c b/polypath.c index 5ae5b04..45e875a 100644 --- a/polypath.c +++ b/polypath.c @@ -351,7 +351,8 @@ static void polypath_record_ifaddr(struct polypath *st, for (i=0; isocks.n_socks; i++) if (iaddr_equal(&interf->socks.socks[i].addr,ia,True)) goto address_remove_found; - BAD("address to remove not found"); + bad(st,badctx,M_DEBUG,"address to remove not found",0); + goto out; address_remove_found: lg_perror(LG,M_INFO,0,"removed %s %s",ifname, iaddr_to_string(&interf->socks.socks[i].addr));