VirtualBox

Ignore:
Timestamp:
Aug 16, 2023 5:22:30 PM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158817
Message:

Devices/Network/slirp: Check the complete network address instead of just the host part, fixes accessing any IP ending with .2, ticketref:21513

File:
1 edited

Legend:

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

    r98103 r100886  
    513513     * initiated by localhost (so == NULL), see @bugref{9896}.
    514514     */
    515     if (   (RT_N2H_U32(ti->ti_dst.s_addr) & ~pData->netmask) == CTL_ALIAS
     515    if (   (CTL_CHECK(ti->ti_dst.s_addr, CTL_ALIAS))
    516516        && !pData->fLocalhostReachable
    517517        && !so)
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