VirtualBox

Changeset 50049 in vbox for trunk


Ignore:
Timestamp:
Jan 10, 2014 7:52:20 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91538
Message:

NAT/dnsproxy.c: todo in r89055.

File:
1 edited

Legend:

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

    r48947 r50049  
    362362            static int fail_counter = 0;
    363363            RTMemFree(req);
    364             /** @todo: This is completely bogus, fail_counter will always be 0. */
    365             if (fail_counter == 0)
     364
     365            if (fail_counter++ % 100 == 0)
    366366              LogRel(("NAT/dnsproxy: Empty DNS entry (suppressed 100 times)\n"));
    367             else
    368               fail_counter = (fail_counter == 100 ? 0 : fail_counter + 1);
     367
    369368            return;
    370369
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette