Some imprevements to hte new protocol

FossilOrigin-Name: 6934f0a8e932314676572b629dbbc776facf11cab1e6f87a4fff822e9b9a8a63
This commit is contained in:
7u83@mail.ru
2018-03-02 07:49:37 +00:00
parent 6de685e665
commit 0a0ec8141a
7 changed files with 54 additions and 72 deletions

View File

@ -59,7 +59,7 @@ static cw_msgdef_t messages[] = {
.name = "Discovery Request Cisco",
.type = CAPWAP_MSG_DISCOVERY_REQUEST,
.states = (int[]){CAPWAP_STATE_DISCOVERY,0},
.elements = (cw_msgelemprops_t []){
.elements = (cw_ElemDef_t []){
{&_DISCOVERY_TYPE,1},
{0,0},
}
@ -69,7 +69,7 @@ static cw_msgdef_t messages[] = {
.name = "Discovery Response",
.type = CAPWAP_MSG_DISCOVERY_RESPONSE,
.states = (int[]){CAPWAP_STATE_DISCOVERY,0},
.elements = (cw_msgelemprops_t[]){
.elements = (cw_ElemDef_t[]){
{0,0},
}
},