Print ifname when sendmsg failed.

Approved by: jkh
This commit is contained in:
shin 2000-02-24 18:46:51 +00:00
parent e2eb488588
commit 298e37dd98

View File

@ -1169,8 +1169,8 @@ struct rainfo *rainfo;
if (i < 0 || i != rainfo->ra_datalen) {
if (i < 0) {
syslog(LOG_ERR, "<%s> sendmsg: %s",
__FUNCTION__, strerror(errno));
syslog(LOG_ERR, "<%s> sendmsg to %s: %s",
__FUNCTION__, rainfo->ifname, strerror(errno));
}
}