Work on wtp join
FossilOrigin-Name: 6bc5cec137a404301cb7f1089f589c6c03cb24c1b309a6b2f9e8d595a467bc6c
This commit is contained in:
@ -135,7 +135,7 @@ strict_capwap = off
|
||||
# Currently as protocol only capwap is suppert
|
||||
#
|
||||
# Defalut:
|
||||
listen = 192.168.0.14:1027
|
||||
#listen = 192.168.0.14:1027
|
||||
|
||||
# broadcast_listen - Broadcast listen address
|
||||
# If ommited, the boraadcast listen adresses a determined automatically
|
||||
@ -145,7 +145,7 @@ listen = 192.168.0.14:1027
|
||||
# broadcast_listen =
|
||||
#
|
||||
|
||||
broadcast_listen = 192.168.0.255:1027
|
||||
#broadcast_listen = 192.168.0.255:1027
|
||||
|
||||
# use_loopback
|
||||
# Include loopback interfaces if listen addresses are auto detected
|
||||
|
@ -688,7 +688,7 @@ struct wtpman *wtpman_create(int socklistindex, struct sockaddr *srcaddr)
|
||||
// struct sockaddr *from);
|
||||
*/
|
||||
wtpman->conn = conn_create(sockfd, srcaddr, 100);
|
||||
wtpman->conn->receiver = CW_RECEIVER_AC;
|
||||
wtpman->conn->role = CW_ROLE_AC;
|
||||
|
||||
wtpman->conn->data_sock = socklist[socklistindex].data_sockfd;
|
||||
sock_copyaddr(&wtpman->conn->data_addr, (struct sockaddr *) &wtpman->conn->addr);
|
||||
|
Reference in New Issue
Block a user