Fixes socket error hook for radv protocol.

This commit is contained in:
Ondrej Zajicek 2013-07-24 14:19:37 +02:00
parent 9135c1f0ca
commit e1afee2799

View file

@ -395,7 +395,7 @@ static void
radv_err_hook(sock *sk, int err) radv_err_hook(sock *sk, int err)
{ {
struct radv_iface *ifa = sk->data; 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 int