diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-08-02 18:04:51 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-08-02 18:04:51 +0200 |
commit | 84b89b4c22ab7c8348d00e31d5319fad6e43defe (patch) | |
tree | a24d986897017ad2228694d440eff79a5ce926cf | |
parent | 75aaa8b3118d4a34b83ece4ec953b8448b19b519 (diff) | |
download | busybox-w32-84b89b4c22ab7c8348d00e31d5319fad6e43defe.tar.gz busybox-w32-84b89b4c22ab7c8348d00e31d5319fad6e43defe.tar.bz2 busybox-w32-84b89b4c22ab7c8348d00e31d5319fad6e43defe.zip |
udhcpc6: downgrade "opening listen socket" log level to 2
This matches udhcpc for IPv4.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/udhcp/d6_dhcpc.c | 2 | ||||
-rw-r--r-- | networking/udhcp/d6_socket.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c index 9666f0446..c7f130a70 100644 --- a/networking/udhcp/d6_dhcpc.c +++ b/networking/udhcp/d6_dhcpc.c | |||
@@ -1083,7 +1083,7 @@ static void change_listen_mode(int new_mode) | |||
1083 | client_data.sockfd = -1; | 1083 | client_data.sockfd = -1; |
1084 | } | 1084 | } |
1085 | if (new_mode == LISTEN_KERNEL) | 1085 | if (new_mode == LISTEN_KERNEL) |
1086 | client_data.sockfd = d6_listen_socket(/*INADDR_ANY,*/ CLIENT_PORT6, client_data.interface); | 1086 | client_data.sockfd = d6_listen_socket(CLIENT_PORT6, client_data.interface); |
1087 | else if (new_mode != LISTEN_NONE) | 1087 | else if (new_mode != LISTEN_NONE) |
1088 | client_data.sockfd = d6_raw_socket(client_data.ifindex); | 1088 | client_data.sockfd = d6_raw_socket(client_data.ifindex); |
1089 | /* else LISTEN_NONE: client_data.sockfd stays closed */ | 1089 | /* else LISTEN_NONE: client_data.sockfd stays closed */ |
diff --git a/networking/udhcp/d6_socket.c b/networking/udhcp/d6_socket.c index 8ddee5a8e..21cf61c6e 100644 --- a/networking/udhcp/d6_socket.c +++ b/networking/udhcp/d6_socket.c | |||
@@ -110,7 +110,7 @@ int FAST_FUNC d6_listen_socket(int port, const char *inf) | |||
110 | int fd; | 110 | int fd; |
111 | struct sockaddr_in6 addr; | 111 | struct sockaddr_in6 addr; |
112 | 112 | ||
113 | log1("opening listen socket on *:%d %s", port, inf); | 113 | log2("opening listen socket on *:%d %s", port, inf); |
114 | fd = xsocket(PF_INET6, SOCK_DGRAM, IPPROTO_UDP); | 114 | fd = xsocket(PF_INET6, SOCK_DGRAM, IPPROTO_UDP); |
115 | 115 | ||
116 | setsockopt_reuseaddr(fd); | 116 | setsockopt_reuseaddr(fd); |