Changeset 11371


Ignore:
Timestamp:
03/05/17 12:21:50 (6 years ago)
Author:
manio
Message:

oscam-chk: accept all providers when provider is not specified

This commit fixes the problem when a CAID is set in reader settings,
but the provider is set to zeroes (000000).
Without the patch, a "reader not found" was returned.

Fixes #4587
patch by: ua0lnj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/oscam-chk.c

    r11339 r11371  
    513513            cs_log_dbg(D_CLIENT, "trying server '%s' filter %04X@%06X",
    514514                          reader->device, caid, prid);
    515             if(prid == er->prid)
     515            if(prid == er->prid || !er->prid)
    516516            {
    517517                rc = 1;
Note: See TracChangeset for help on using the changeset viewer.