Removed ol stuff
This commit is contained in:
parent
65153617b7
commit
19e38b332f
@ -21,7 +21,6 @@
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <confuse.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <net/if.h>
|
||||
|
||||
|
@ -12,6 +12,8 @@ capwap/ssl-cipher: DHE-RSA:RSA:AES-256-CBC:AES-128-CBC:SHA1:PSK
|
||||
capwap/ssl-psk-enable: false
|
||||
capwap/ssl-psk: 123456
|
||||
capwap/ssl-dhbits: 1024
|
||||
capwap/ssl-keyfile: "../../ssl/intermediate-ca/int-ca.key"
|
||||
capwap/ssl-certfile: "../../ssl/intermediate-ca/int-ca.crt"
|
||||
|
||||
cisco/ssl-keyfile: "../../ssl/intermediate-ca/int-ca.key"
|
||||
cisco/ssl-certfile: "../../ssl/intermediate-ca/int-ca.crt"
|
||||
|
@ -49,6 +49,7 @@ int static setup_cfg(struct cw_Conn * conn)
|
||||
int security;
|
||||
|
||||
security = cw_setup_dtls(conn,conn->local_cfg,"capwap",CAPWAP_CIPHER);
|
||||
printf ("ROLE: %d\n",conn->role);
|
||||
stop();
|
||||
// cw_ktv_set_byte(conn->local_cfg,"ac-descriptor/security",security);
|
||||
|
||||
|
@ -175,7 +175,8 @@ int main (int argc, char **argv)
|
||||
// cw_run_discovery(conn, "192.168.0.162","192.168.0.14", &dis);
|
||||
//cw_run_discovery(conn, "255.255.255.255","192.168.0.14", &dis);
|
||||
// cw_run_discovery(conn, "192.168.0.255","192.168.0.14", &dis);
|
||||
results = cw_run_discovery(conn, "255.255.255.255","192.168.0.14");
|
||||
//results = cw_run_discovery(conn, "255.255.255.255","192.168.0.14");
|
||||
results = cw_run_discovery(conn, "255.255.255.255","172.16.67.119");
|
||||
|
||||
if (!join(conn,results)){
|
||||
cw_discovery_results_destroy(results);
|
||||
|
Loading…
Reference in New Issue
Block a user