HJL> Here is the relevant code:
HJL> if (lp->addr.s_addr != sin->sin_addr.s_addr)
HJL> dprintf(L_WARNING, "address mismatch: "
HJL> "expected %s, got %s\n",
HJL> inet_ntoa(lp->addr),
HJL> inet_ntoa(sin->sin_addr));
AFAIK inet_ntoa uses static buffer for its return value. Hence the last
value in printf call is copied to all inet_ntoa results.
-- Meelis Roos (mroos@tartu.cyber.ee)- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/