mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 16:26:10 +00:00
change perror to zlog_err
This commit is contained in:
parent
4bfbea8cc3
commit
9ccabd1cdb
@ -1,3 +1,7 @@
|
|||||||
|
2004-01-06 Greg Troxel <gdt@t1.ir.bbn.com>
|
||||||
|
|
||||||
|
* rtadv.c (rtadv_send_packet): Change perror to zlog_err.
|
||||||
|
|
||||||
2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
|
2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
|
||||||
* kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
|
* kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code
|
||||||
to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
|
to find the sockaddr_dl in all cases, narrowing the Solaris ifdef
|
||||||
|
@ -276,8 +276,11 @@ rtadv_send_packet (int sock, struct interface *ifp)
|
|||||||
pkt->ipi6_ifindex = ifp->ifindex;
|
pkt->ipi6_ifindex = ifp->ifindex;
|
||||||
|
|
||||||
ret = sendmsg (sock, &msg, 0);
|
ret = sendmsg (sock, &msg, 0);
|
||||||
if (ret <0)
|
if (ret < 0)
|
||||||
perror ("sendmsg");
|
{
|
||||||
|
zlog_err ("rtadv_send_packet: sendmsg %d (%s)\n",
|
||||||
|
errno, strerror(errno));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user