VirtualBox

Changeset 39861 in vbox


Ignore:
Timestamp:
Jan 24, 2012 5:03:15 PM (13 years ago)
Author:
vboxsync
Message:

DrvNAT: Use RTStrSimplePatternMultiMatch instead of RTStrSimplePatternMatch to match patterns. This changes '|' to a pattern separator.

File:
1 edited

Legend:

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

    r39776 r39861  
    382382                 && !strcmp(pDNSMapingEntry->pszCName, pcszString))
    383383            || (   pDNSMapingEntry->pszPattern
    384                 && RTStrSimplePatternMatch(pDNSMapingEntry->pszPattern, pcszString)));
     384                && RTStrSimplePatternMultiMatch(pDNSMapingEntry->pszPattern, RTSTR_MAX, pcszString, RTSTR_MAX, NULL)));
    385385}
    386386
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