From: Ondrej Zajicek Date: Wed, 24 Jul 2013 12:19:37 +0000 (+0200) Subject: Fixes socket error hook for radv protocol. X-Git-Tag: v1.3.11~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1afee279993363ffb4a7005554d0774eb09b764;p=thirdparty%2Fbird.git Fixes socket error hook for radv protocol. --- diff --git a/proto/radv/packets.c b/proto/radv/packets.c index dd839536d..38abaa4c1 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