Removed IANA Number stuff

FossilOrigin-Name: 0b650e799a0baad2f4c24527444d967e19c657d47197d58bc7434dc328977987
This commit is contained in:
7u83@mail.ru 2014-07-27 10:35:05 +00:00
parent 0fbd7267e6
commit a8a9b1b399
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ void cwmsg_init(struct cwmsg * cwmsg, uint8_t *buffer, int type, int seqnum, str
cwmsg->ctrlhdr=cwmsg->trnsprthdr+hlen;
cwmsg->msgelems=cwmsg->ctrlhdr+8;
*((uint32_t*)(cwmsg->ctrlhdr))=htonl(type+CWIANA_ENTERPRISE_NUMBER*256);
*((uint32_t*)(cwmsg->ctrlhdr))=htonl(type);
cwmsg->pos=0;
cwmsg->hlen=hlen/4;