Moved cw_readelem_ecn_suport out to a separate file.

FossilOrigin-Name: 159f5b1387f0e70b5e19366fe46216cfa1541040964378304e47636abbd34f2f
This commit is contained in:
7u83@mail.ru 2014-08-03 11:32:32 +00:00
parent cdfcdc4a04
commit e801861aac
1 changed files with 0 additions and 13 deletions

View File

@ -9,19 +9,6 @@
#include "cw_log.h"
int cw_readelem_ecn_support(uint8_t *ecn_support, int type, uint8_t * msgelem, int len)
{
if (type != CWMSGELEM_ECN_SUPPORT)
return 0;
if (len!=1){
cw_log_debug0("Discarding ECN_SUPPORT msgelem, wrong size, type=%d,len=%d",type,len);
return 1;
}
*ecn_support=*msgelem;
return 1;
}
/*
int wtpinfo_readelem_ecn_support(struct wtpinfo * wtpinfo, int type, uint8_t * msgelem, int len)
{