actube/src/cw/cw_result_is_ok.c

9 lines
162 B
C
Raw Normal View History

#include "capwap.h"
#include "cw.h"
int cw_result_is_ok( int rc ) {
if(rc == CAPWAP_RESULT_SUCCESS || rc == CAPWAP_RESULT_SUCCESS_NAT)
return 1;
return 0;
}