specify the byte width of the IP address specification enum
This commit is contained in:
parent
497f45a0df
commit
74b95cf007
|
@ -79,7 +79,7 @@ const static uint8_t ONLY_UNICAST_SUPPORTED = 13; //!< Only unicast channel
|
|||
/**
|
||||
* @brief Table 7: Address Specification Types
|
||||
*/
|
||||
enum ip_addr_spec {
|
||||
enum ip_addr_spec : uint8_t {
|
||||
SDT_ADDR_NULL = 0, //!< Address is not present (0 octets).
|
||||
SDT_ADDR_IPV4 = 1, //!< Address specified is in IP v4 format
|
||||
SDT_ADDR_IPV6 = 2 //!< Address specified is in IP v6 format
|
||||
|
|
Loading…
Reference in New Issue