VirtualBox

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


Ignore:
Timestamp:
Aug 13, 2013 5:21:41 PM (11 years ago)
Author:
vboxsync
Message:

Oops, fix precedence in a = b | c.

File:
1 edited

Legend:

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

    r47624 r47702  
    396396    memset(&addr, 0, sizeof(struct sockaddr_in));
    397397    addr.sin_family = AF_INET;
    398     if (req->dns_server->de_addr.s_addr == pData->special_addr.s_addr | RT_H2N_U32_C(CTL_ALIAS)) {
     398    if (req->dns_server->de_addr.s_addr == (pData->special_addr.s_addr | RT_H2N_U32_C(CTL_ALIAS))) {
    399399        /* undo loopback remapping done in get_dns_addr_domain() */
    400400        addr.sin_addr.s_addr = RT_N2H_U32_C(INADDR_LOOPBACK);
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