summaryrefslogtreecommitdiffstats
path: root/pimd/pim_sock.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-06 18:36:50 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit09c866e34dd6f1725ff5a2354017c13485c2c755 (patch)
tree5dd5e6484250d6388453ace46240d210af30df36 /pimd/pim_sock.c
parent*: rename ferr_ref -> log_ref (diff)
downloadfrr-09c866e34dd6f1725ff5a2354017c13485c2c755.tar.xz
frr-09c866e34dd6f1725ff5a2354017c13485c2c755.zip
*: rename ferr_zlog -> flog_err_sys
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_sock.c')
-rw-r--r--pimd/pim_sock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_sock.c b/pimd/pim_sock.c
index 2a93b4ad7..976bf3d10 100644
--- a/pimd/pim_sock.c
+++ b/pimd/pim_sock.c
@@ -76,9 +76,9 @@ void pim_socket_ip_hdr(int fd)
__PRETTY_FUNCTION__, safe_strerror(errno));
if (setsockopt(fd, IPPROTO_IP, IP_HDRINCL, &on, sizeof(on)))
- flog_err(LIB_ERR_SOCKET,
- "%s: Could not turn on IP_HDRINCL option: %s",
- __PRETTY_FUNCTION__, safe_strerror(errno));
+ flog_err_sys(LIB_ERR_SOCKET,
+ "%s: Could not turn on IP_HDRINCL option: %s",
+ __PRETTY_FUNCTION__, safe_strerror(errno));
if (pimd_privs.change(ZPRIVS_LOWER))
flog_err(LIB_ERR_PRIVILEGES, "%s: could not lower privs, %s",