summaryrefslogtreecommitdiff
path: root/proto/radv/packets.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-07-24 14:19:37 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2013-07-24 14:19:37 +0200
commite1afee279993363ffb4a7005554d0774eb09b764 (patch)
treec0632d88bfe37752da1323978f1df8cbe6e0fa32 /proto/radv/packets.c
parent9135c1f0ca6322bff9648895b5394b97761b4bcb (diff)
Fixes socket error hook for radv protocol.
Diffstat (limited to 'proto/radv/packets.c')
-rw-r--r--proto/radv/packets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/radv/packets.c b/proto/radv/packets.c
index dd839536..38abaa4c 100644
--- a/proto/radv/packets.c
+++ b/proto/radv/packets.c
@@ -395,7 +395,7 @@ static void
radv_err_hook(sock *sk, int err)
{
struct radv_iface *ifa = sk->data;
- log(L_ERR "%s: Socket error: %m", ifa->ra->p.name, err);
+ log(L_ERR "%s: Socket error on %s: %M", ifa->ra->p.name, ifa->iface->name, err);
}
int