move the category setting into the element ops
this prepares the element ops for decoding vendor ies into seperate types. It also makes sense to keep all information about a IE in one place.
This commit is contained in:
@ -72,6 +72,7 @@ static void capwap_wtpstaticipaddress_element_free(void* data) {
|
||||
|
||||
/* */
|
||||
struct capwap_message_elements_ops capwap_element_wtpstaticipaddress_ops = {
|
||||
.category = CAPWAP_MESSAGE_ELEMENT_SINGLE,
|
||||
.create = capwap_wtpstaticipaddress_element_create,
|
||||
.parse = capwap_wtpstaticipaddress_element_parsing,
|
||||
.clone = capwap_wtpstaticipaddress_element_clone,
|
||||
|
||||
Reference in New Issue
Block a user