VirtualBox

Ignore:
Timestamp:
Dec 12, 2008 8:55:52 AM (16 years ago)
Author:
vboxsync
Message:

slirp:icmp: enabling UDP traceroute on Unix

File:
1 edited

Legend:

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

    r15293 r15355  
    591591                 (struct sockaddr *)&addr, sizeof (struct sockaddr));
    592592    if (ret < 0)
     593    {
     594        LogRel(("UDP: sendto fails (%s)\n", strerror(errno)));
    593595        return -1;
     596    }
    594597
    595598    /*
     
    795798    icp = (struct icmp *)((char *)ip + (ip->ip_hl << 2));
    796799
     800    LogRel(("ICMP:received msg(t:%d, c:%d)\n", icp->icmp_type, icp->icmp_code));
    797801    if (icp->icmp_type != ICMP_ECHOREPLY && icp->icmp_type != ICMP_TIMXCEED)
    798802    {
    799         LogRel(("received ICMP(t:%d, c:%d)\n", icp->icmp_type, icp->icmp_code));
    800803        return;
    801804    }
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