Removed IANA Number stuff
FossilOrigin-Name: 0b650e799a0baad2f4c24527444d967e19c657d47197d58bc7434dc328977987
This commit is contained in:
parent
0fbd7267e6
commit
a8a9b1b399
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user