VirtualBox

Changeset 50489 in vbox


Ignore:
Timestamp:
Feb 18, 2014 1:37:42 AM (11 years ago)
Author:
vboxsync
Message:

fwspec_set: use LogRel to log gai_strerror().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/portfwd.c

    r49315 r50489  
    149149    status = getaddrinfo(src_addr_str, NULL, &hints, &ai);
    150150    if (status != 0) {
    151         DPRINTF(("%s - %s\n", src_addr_str, gai_strerror(status)));
     151        LogRel(("\"%s\": %s\n", src_addr_str, gai_strerror(status)));
    152152        return -1;
    153153    }
     
    160160    status = getaddrinfo(dst_addr_str, NULL, &hints, &ai);
    161161    if (status != 0) {
    162         DPRINTF(("%s - %s\n", dst_addr_str, gai_strerror(status)));
     162        LogRel(("\"%s\": %s\n", dst_addr_str, gai_strerror(status)));
    163163        return -1;
    164164    }
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