diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 21:34:28 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 21:34:28 +0200 |
commit | 450971aa994e68f7c62c4d45065223d5cfc4a22f (patch) | |
tree | 0128a1e596823272333d8a6616dd2575e8d7c46b /zebra/if_ioctl_solaris.c | |
parent | zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA (diff) | |
download | frr-450971aa994e68f7c62c4d45065223d5cfc4a22f.tar.xz frr-450971aa994e68f7c62c4d45065223d5cfc4a22f.zip |
*: LIB_[ERR|WARN] -> EC_LIB
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/if_ioctl_solaris.c')
-rw-r--r-- | zebra/if_ioctl_solaris.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/zebra/if_ioctl_solaris.c b/zebra/if_ioctl_solaris.c index 1f12d4c02..1955881f2 100644 --- a/zebra/if_ioctl_solaris.c +++ b/zebra/if_ioctl_solaris.c @@ -65,7 +65,7 @@ static int interface_list_ioctl(int af) } if (sock < 0) { - flog_err_sys(LIB_ERR_SOCKET, "Can't make %s socket stream: %s", + flog_err_sys(EC_LIB_SOCKET, "Can't make %s socket stream: %s", (af == AF_INET ? "AF_INET" : "AF_INET6"), safe_strerror(errno)); return -1; @@ -80,7 +80,7 @@ calculate_lifc_len: } if (ret < 0) { - flog_err_sys(LIB_ERR_SYSTEM_CALL, + flog_err_sys(EC_LIB_SYSTEM_CALL, "interface_list_ioctl: SIOCGLIFNUM failed %s", safe_strerror(errno)); close(sock); @@ -115,7 +115,7 @@ calculate_lifc_len: if (errno == EINVAL) goto calculate_lifc_len; - flog_err_sys(LIB_ERR_SYSTEM_CALL, "SIOCGLIFCONF: %s", + flog_err_sys(EC_LIB_SYSTEM_CALL, "SIOCGLIFCONF: %s", safe_strerror(errno)); goto end; } @@ -207,7 +207,7 @@ static int if_get_index(struct interface *ifp) ret = -1; if (ret < 0) { - flog_err_sys(LIB_ERR_SYSTEM_CALL, "SIOCGLIFINDEX(%s) failed", + flog_err_sys(EC_LIB_SYSTEM_CALL, "SIOCGLIFINDEX(%s) failed", ifp->name); return ret; } @@ -270,7 +270,7 @@ static int if_get_addr(struct interface *ifp, struct sockaddr *addr, if (ret < 0) { if (errno != EADDRNOTAVAIL) { - flog_err_sys(LIB_ERR_SYSTEM_CALL, + flog_err_sys(EC_LIB_SYSTEM_CALL, "SIOCGLIFNETMASK (%s) fail: %s", ifp->name, safe_strerror(errno)); return ret; @@ -291,7 +291,7 @@ static int if_get_addr(struct interface *ifp, struct sockaddr *addr, if (ifp->flags & IFF_POINTOPOINT) prefixlen = IPV6_MAX_BITLEN; else - flog_err_sys(LIB_ERR_SYSTEM_CALL, + flog_err_sys(EC_LIB_SYSTEM_CALL, "SIOCGLIFSUBNET (%s) fail: %s", ifp->name, safe_strerror(errno)); } else { |