VirtualBox

Changeset 43979 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Nov 28, 2012 6:26:32 AM (12 years ago)
Author:
vboxsync
Message:

NAT: ICMP ECHO to built-in services.

File:
1 edited

Legend:

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

    r40582 r43979  
    451451            ip->ip_len += hlen;              /* since ip_input subtracts this */
    452452            dst = ip->ip_dst.s_addr;
    453             if (dst == alias_addr.s_addr)
     453            if (   CTL_CHECK(dst, CTL_ALIAS)
     454                || CTL_CHECK(dst, CTL_DNS)
     455                || CTL_CHECK(dst, CTL_TFTP))
    454456            {
    455457                icp->icmp_type = ICMP_ECHOREPLY;
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