VirtualBox

Changeset 60039 in vbox


Ignore:
Timestamp:
Mar 15, 2016 1:06:08 PM (9 years ago)
Author:
vboxsync
Message:

NAT: Pasto - don't dereference NULL rule in LogRel reporting failure
to find it.

File:
1 edited

Legend:

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

    r59948 r60039  
    15981598    {
    15991599        LogRel(("NAT: Unable to find redirect %s %RTnaipv4:%d -> %RTnaipv4:%d\n",
    1600                 rule->proto == IPPROTO_UDP ? "UDP" : "TCP",
    1601                 rule->bind_ip.s_addr, rule->host_port,
    1602                 guest_addr.s_addr, rule->guest_port));
     1600                is_udp ? "UDP" : "TCP",
     1601                host_addr.s_addr, host_port,
     1602                guest_addr.s_addr, guest_port));
    16031603        return 0;
    16041604    }
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