VirtualBox

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


Ignore:
Timestamp:
Feb 9, 2012 9:44:05 AM (13 years ago)
Author:
vboxsync
Message:

NAT: ICMP: logs (replacement custom IP address printing with %RTnaip4).

File:
1 edited

Legend:

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

    r39409 r40048  
    634634
    635635    ip = mtod(msrc, struct ip *);
    636 #if DEBUG
    637     {
    638         char bufa[20], bufb[20];
    639         strcpy(bufa, inet_ntoa(ip->ip_src));
    640         strcpy(bufb, inet_ntoa(ip->ip_dst));
    641         Log2((" %.16s to %.16s\n", bufa, bufb));
    642     }
    643 #endif
     636    LogFunc(("msrc: %RTnaipv4 -> %RTnaipv4\n", ip->ip_src, ip->ip_dst));
     637
    644638    if (   ip->ip_off & IP_OFFMASK
    645639        && type != ICMP_SOURCEQUENCH)
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