Changeset 8646


Ignore:
Timestamp:
05/14/13 21:54:50 (8 years ago)
Author:
theparasol
Message:
  • Radegast longecm support tnx Goodsat for providing the patch!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-radegast.c

    r8455 r8646  
    115115        break;
    116116      case  3:      // ECM DATA
    117         er->ecmlen = sl;
     117        //er->ecmlen = sl;
     118        er->ecmlen = (((buf[i+1+2] & 0x0F) << 8) | buf[i+2+2]) + 3;
    118119        memcpy(er->ecm, buf+i+2, er->ecmlen);
    119120        break;
     
    243244  ph->desc="radegast";
    244245  ph->type=MOD_CONN_TCP;
     246  ph->large_ecm_support = 1;
    245247  ph->listenertype = LIS_RADEGAST;
    246248  IP_ASSIGN(ph->s_ip, cfg.rad_srvip);
Note: See TracChangeset for help on using the changeset viewer.