summaryrefslogtreecommitdiffstats
path: root/ospf6d
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 /ospf6d
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 'ospf6d')
-rw-r--r--ospf6d/ospf6_network.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ospf6d/ospf6_network.c b/ospf6d/ospf6_network.c
index 8c2b68fe7..bf0387aab 100644
--- a/ospf6d/ospf6_network.c
+++ b/ospf6d/ospf6_network.c
@@ -124,9 +124,10 @@ int ospf6_sso(ifindex_t ifindex, struct in6_addr *group, int option)
ret = setsockopt(ospf6_sock, IPPROTO_IPV6, option, &mreq6,
sizeof(mreq6));
if (ret < 0) {
- flog_err(LIB_ERR_SOCKET,
- "Network: setsockopt (%d) on ifindex %d failed: %s",
- option, ifindex, safe_strerror(errno));
+ flog_err_sys(
+ LIB_ERR_SOCKET,
+ "Network: setsockopt (%d) on ifindex %d failed: %s",
+ option, ifindex, safe_strerror(errno));
return ret;
}