Inital.
FossilOrigin-Name: f7ef5f74a5611cf781401152cc8e64329ff7576b2a418e8d68690313a28fd775
This commit is contained in:
parent
ecdcb71e10
commit
341e098a6d
19
src/wtp/changestate.c
Normal file
19
src/wtp/changestate.c
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#include "capwap/capwap.h"
|
||||||
|
#include "capwap/conn.h"
|
||||||
|
#include "wtp_interface.h"
|
||||||
|
|
||||||
|
|
||||||
|
int changestate()
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
struct conn * conn = get_conn();
|
||||||
|
int rc = cw_send_request(conn,CW_MSG_CHANGE_STATE_EVENT_REQUEST);
|
||||||
|
|
||||||
|
if ( !cw_rcok(rc) ) {
|
||||||
|
cw_strresult(rc);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user