mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 08:09:08 +00:00
Print ifname when sendmsg failed.
Approved by: jkh
This commit is contained in:
parent
c23e256eef
commit
93eff08412
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57435
@ -1169,8 +1169,8 @@ struct rainfo *rainfo;
|
|||||||
|
|
||||||
if (i < 0 || i != rainfo->ra_datalen) {
|
if (i < 0 || i != rainfo->ra_datalen) {
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
syslog(LOG_ERR, "<%s> sendmsg: %s",
|
syslog(LOG_ERR, "<%s> sendmsg to %s: %s",
|
||||||
__FUNCTION__, strerror(errno));
|
__FUNCTION__, rainfo->ifname, strerror(errno));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user