VirtualBox

Changeset 72284 in vbox for trunk/src


Ignore:
Timestamp:
May 22, 2018 12:23:35 PM (7 years ago)
Author:
vboxsync
Message:

NAT: tcp_fconnect - use %RTnaipv4 instead of an artisanal equivalent.
While here, drop misleading/obsolete comment about the local port.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/tcp_subr.c

    r71982 r72284  
    454454        addr.sin_port = so->so_fport;
    455455
    456         Log2((" connect()ing, addr.sin_port=%d, addr.sin_addr.s_addr=%.16s\n",
    457              RT_N2H_U16(addr.sin_port), inet_ntoa(addr.sin_addr)));
    458         /* We don't care what port we get */
     456        Log2(("NAT: tcp connect to %RTnaipv4:%d\n",
     457              addr.sin_addr.s_addr, RT_N2H_U16(addr.sin_port)));
     458
    459459        ret = connect(s,(struct sockaddr *)&addr,sizeof (addr));
    460460
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette