Skip to content

Commit 4a72cb1

Browse files
allemanmaescolar
authored andcommitted
net: mgmt: Fix for wrong IPV6 DHCP event code
Fix wrong net event base for ipv6 dhcp events Signed-off-by: Matthias Alleman <[email protected]>
1 parent a738bfa commit 4a72cb1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/zephyr/net/net_event.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ enum net_event_ipv6_cmd {
132132
(_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_NBR_DEL)
133133

134134
#define NET_EVENT_IPV6_DHCP_START \
135-
(_NET_EVENT_IPV4_BASE | NET_EVENT_IPV6_CMD_DHCP_START)
135+
(_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_DHCP_START)
136136

137137
#define NET_EVENT_IPV6_DHCP_BOUND \
138-
(_NET_EVENT_IPV4_BASE | NET_EVENT_IPV6_CMD_DHCP_BOUND)
138+
(_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_DHCP_BOUND)
139139

140140
#define NET_EVENT_IPV6_DHCP_STOP \
141-
(_NET_EVENT_IPV4_BASE | NET_EVENT_IPV6_CMD_DHCP_STOP)
141+
(_NET_EVENT_IPV6_BASE | NET_EVENT_IPV6_CMD_DHCP_STOP)
142142

143143
/* IPv4 Events*/
144144
#define _NET_IPV4_LAYER NET_MGMT_LAYER_L3

0 commit comments

Comments
 (0)