From 2b6c895b4f9916a06b14c40f545c9b4e53141c9a Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 10 Feb 2010 16:53:37 -0800 Subject: net_common working in this state with control udp packets --- lib/usrp/mboard/usrp2_fw_common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/usrp/mboard') diff --git a/lib/usrp/mboard/usrp2_fw_common.h b/lib/usrp/mboard/usrp2_fw_common.h index eb097c3fe..28d58cf7c 100644 --- a/lib/usrp/mboard/usrp2_fw_common.h +++ b/lib/usrp/mboard/usrp2_fw_common.h @@ -39,13 +39,13 @@ typedef enum{ typedef struct{ uint32_t id; uint32_t seq; - union data{ - struct discovery_addrs{ + union{ + struct{ uint32_t ip_addr; uint8_t mac_addr[6]; uint8_t _padding[2]; - }; - }; + } discovery_addrs; + } data; } usrp2_ctrl_data_t; #ifdef __cplusplus -- cgit v1.2.3