mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
fix GCC11 compilation
This commit is contained in:
parent
555268b91d
commit
ec9a3a96e8
1 changed files with 2 additions and 2 deletions
|
@ -148,8 +148,8 @@ static int array_auto_helper(int action, int i0, int i1)
|
|||
while (cont) {
|
||||
struct dawn_mac this_mac;
|
||||
|
||||
*((uint64_t*)(&this_mac.u8)) = m;
|
||||
|
||||
uint64_t mac_src = m;
|
||||
memcpy(&this_mac.u8, &mac_src, ETH_ALEN < sizeof (uint64_t) ? ETH_ALEN : sizeof (uint64_t));
|
||||
switch (action & ~HELPER_ACTION_MASK)
|
||||
{
|
||||
case HELPER_AP:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue