Fix typo in rtsock_common.h

MFC after:	3 days
This commit is contained in:
Alexander V. Chernikov 2021-04-19 20:24:42 +00:00
parent 4b38eed76d
commit 37c0f4a207

View File

@ -454,7 +454,7 @@ sa_equal_msg_flags(const struct sockaddr *a, const struct sockaddr *b, char *msg
b6 = (const struct sockaddr_in6 *)b;
if (!IN6_ARE_ADDR_EQUAL(&a6->sin6_addr, &b6->sin6_addr)) {
inet_ntop(AF_INET6, &a6->sin6_addr, a_s, sizeof(a_s));
inet_ntop(AF_INET6, &b6->sin6_addr, a_s, sizeof(a_s));
inet_ntop(AF_INET6, &b6->sin6_addr, b_s, sizeof(b_s));
snprintf(msg, sz, "addr diff: %s vs %s", a_s, b_s);
return 0;
}