]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes socket error hook for radv protocol.
authorOndrej Zajicek <santiago@crfreenet.org>
Wed, 24 Jul 2013 12:19:37 +0000 (14:19 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 24 Jul 2013 12:19:37 +0000 (14:19 +0200)
proto/radv/packets.c

index dd839536de2ba65083b6635407d8809e8b3835e2..38abaa4c10e6ba0c45db53d4c9983fb4c5ce3b6f 100644 (file)
@@ -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