Navigation



Ignore:
Timestamp:
Mar 2, 2011, 6:21:59 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix broken 'almostcasecmp' logic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgw_clients.c

    r718 r738  
    732732               
    733733                /* first, check if the nas_id is the fqdn of the peer or a known alias */
    734                 if (!fd_os_almostcasecmp(nas_id + 1, nas_id_len,
    735                                                 cli->fqdn, cli->fqdn_len)) {
     734                if (!fd_os_almostcasesrch(nas_id + 1, nas_id_len,
     735                                                cli->fqdn, cli->fqdn_len, NULL)) {
    736736                        TRACE_DEBUG(FULL, "NAS-Identifier contains the fqdn of the client");
    737737                        found = 1;
Note: See TracChangeset for help on using the changeset viewer.