Got rid of mbag! Works for mod_capwap and wtp
FossilOrigin-Name: af10cb591d1e6db629c886cdbb268a2753bb93012e410e42f65b8385befb9896
This commit is contained in:
		| @ -6,8 +6,8 @@ | ||||
| #include <netinet/in.h> | ||||
|  | ||||
| #include "cw.h" | ||||
| #include "capwap_items.h" | ||||
| #include "mbag.h" | ||||
|  | ||||
|  | ||||
|  | ||||
| int cw_in_capwap_local_ipv6_address(struct conn *conn, struct cw_action_in *a, | ||||
| 				 uint8_t * data, int len,struct sockaddr *from) | ||||
| @ -16,8 +16,9 @@ int cw_in_capwap_local_ipv6_address(struct conn *conn, struct cw_action_in *a, | ||||
| 	memcpy(&addr.sin6_addr,data,4); | ||||
| 	addr.sin6_family=AF_INET6; | ||||
|  | ||||
| /* | ||||
| 	mbag_set_sockaddr(conn->incomming,CW_ITEM_CAPWAP_LOCAL_IP_ADDRESS,(struct sockaddr*)&addr); | ||||
| 	 | ||||
| */	 | ||||
| 	 | ||||
| 	return 1; | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user