Zebediah Figura : ws2_32: Dump the flow label and scope ID in debugstr_sockaddr().

Alexandre Julliard julliard at winehq.org
Fri Jul 23 18:08:02 CDT 2021


Module: wine
Branch: master
Commit: a5f787ac445a682ea7ced5dd78c3516d4b8b9311
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a5f787ac445a682ea7ced5dd78c3516d4b8b9311

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Fri Jul 23 11:39:11 2021 -0500

ws2_32: Dump the flow label and scope ID in debugstr_sockaddr().

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ws2_32/socket.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 16bece395b8..7fb48698d2a 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -192,8 +192,8 @@ const char *debugstr_sockaddr( const struct WS_sockaddr *a )
         p = WS_inet_ntop( WS_AF_INET6, &sin->sin6_addr, buf, sizeof(buf) );
         if (!p)
             p = "(unknown IPv6 address)";
-        return wine_dbg_sprintf("{ family AF_INET6, address %s, port %d }",
-                                p, ntohs(sin->sin6_port));
+        return wine_dbg_sprintf("{ family AF_INET6, address %s, flow label %#x, port %d, scope %u }",
+                                p, sin->sin6_flowinfo, ntohs(sin->sin6_port), sin->sin6_scope_id );
     }
     case WS_AF_IPX:
     {




More information about the wine-cvs mailing list