VirtualBox

Ignore:
Timestamp:
Jul 17, 2009 3:40:48 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50199
Message:

NAT: linalias's links expire too fast

File:
1 edited

Legend:

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

    r21661 r21662  
    930930    LIST_FOREACH_SAFE(lnk, &la->linkTableOut[la->cleanupIndex++],
    931931        list_out, lnk_tmp) {
     932#ifndef VBOX
    932933        if (la->timeStamp - lnk->timestamp > lnk->expire_time)
     934#else
     935        /* libalias counts time in seconds while slirp in millis */
     936        if (la->timeStamp - lnk->timestamp > (1000 * lnk->expire_time))
     937#endif
    933938            DeleteLink(lnk);
    934939    }
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