From d019e5f0e90ec0f81edf8e68c90328dc027d9a84 Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Mon, 14 Aug 2023 17:21:25 +0800 Subject: [PATCH] =?UTF-8?q?sendto=E7=9A=84=E6=97=A5=E5=BF=97=E7=BA=A7?= =?UTF-8?q?=E5=88=AB=E4=BF=AE=E6=94=B9=E4=B8=BAINFO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/packet_inject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/packet_inject.cpp b/common/src/packet_inject.cpp index 464fefa..88c36ed 100644 --- a/common/src/packet_inject.cpp +++ b/common/src/packet_inject.cpp @@ -22,7 +22,7 @@ int packet_inject_ipv4(struct in_addr *ip_dst, const char *data, int len) { char string[256] = {0}; inet_ntop(PF_INET, ip_dst, string, sizeof(string)); - LOG_ERROR("Failed at send() %s, (%d: %s)", string, errno, strerror(errno)); + LOG_INFO("Failed at send() %s, (%d: %s)", string, errno, strerror(errno)); close(fd); return -1; } @@ -48,7 +48,7 @@ int packet_inject_ipv6(struct in6_addr *ip6_dst, const char *data, int len) { char string[256] = {0}; inet_ntop(PF_INET6, ip6_dst, string, sizeof(string)); - LOG_ERROR("Failed at send() %s, (%d: %s)", string, errno, strerror(errno)); + LOG_INFO("Failed at send() %s, (%d: %s)", string, errno, strerror(errno)); close(fd); return -1; }