VirtualBox

Changeset 57738 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Sep 14, 2015 2:21:05 PM (9 years ago)
Author:
vboxsync
Message:

NAT: udp_listen: better log message when bind(2) fails.

File:
1 edited

Legend:

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

    r57449 r57738  
    642642    if (bind(so->s,(struct sockaddr *)&addr, addrlen) < 0)
    643643    {
    644         LogRel(("NAT: bind to %RTnaipv4 has been failed\n", addr.sin_addr));
     644        LogRel(("NAT: udp bind to %RTnaipv4:%d failed, error %d\n",
     645                addr.sin_addr, RT_N2H_U16(port), errno));
    645646        udp_detach(pData, so);
    646647        LogFlowFunc(("LEAVE: NULL\n"));
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