]> git.proxmox.com Git - mirror_frr.git/blobdiff - pimd/pim_igmp.c
*: LIB_[ERR|WARN] -> EC_LIB
[mirror_frr.git] / pimd / pim_igmp.c
index 270f1e3f27766598b6b312363bf42674d666bba2..64537cfa8411d3cdfcbd3f043819b1451fe4db47 100644 (file)
@@ -98,7 +98,7 @@ static int igmp_sock_open(struct in_addr ifaddr, struct interface *ifp,
 
        if (!join) {
                flog_err_sys(
-                       LIB_ERR_SOCKET,
+                       EC_LIB_SOCKET,
                        "IGMP socket fd=%d could not join any group on interface address %s",
                        fd, inet_ntoa(ifaddr));
                close(fd);
@@ -700,7 +700,7 @@ static void sock_close(struct igmp_sock *igmp)
 
        if (close(igmp->fd)) {
                flog_err(
-                       LIB_ERR_SOCKET,
+                       EC_LIB_SOCKET,
                        "Failure closing IGMP socket %s fd=%d on interface %s: errno=%d: %s",
                        inet_ntoa(igmp->ifaddr), igmp->fd,
                        igmp->interface->name, errno, safe_strerror(errno));