From 1f863290430447c7aa9f8123b9605c5135478911 Mon Sep 17 00:00:00 2001 From: leslie Date: Mon, 16 Feb 2009 20:34:46 +0800 Subject: [PATCH] cardclient-newcamd: disable NewCS client ident (from emun-sc) --- systems/cardclient/newcamd.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/systems/cardclient/newcamd.c b/systems/cardclient/newcamd.c index 87a3c64..99c95b5 100644 --- a/systems/cardclient/newcamd.c +++ b/systems/cardclient/newcamd.c @@ -398,10 +398,11 @@ bool cCardClientNewCamd::Login(void) cTripleDes::ScheduleKey(); // set NewCS client identification - struct CustomData cd; - InitCustomData(&cd,0x5644,0); + // this seems to conflict with other cardservers e.g. rqcs !! + //struct CustomData cd; + //InitCustomData(&cd,0x5644,0); - if(!SendMessage(&so,buffer,buffer[2]+3,true,&cd) || CmdReceive(&so)!=MSG_CLIENT_2_SERVER_LOGIN_ACK) { + if(!SendMessage(&so,buffer,buffer[2]+3,true) || CmdReceive(&so)!=MSG_CLIENT_2_SERVER_LOGIN_ACK) { PRINTF(L_CC_NEWCAMD,"failed to login to cardserver for username %s (proto %d)",username,protoVers); if(NextProto()) return Login(); return false; -- 2.39.5