diff options
Diffstat (limited to 'accel-pppd/include')
-rw-r--r-- | accel-pppd/include/connlimit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/include/connlimit.h b/accel-pppd/include/connlimit.h index 4227bad1..a5645ee2 100644 --- a/accel-pppd/include/connlimit.h +++ b/accel-pppd/include/connlimit.h @@ -12,8 +12,8 @@ static inline uint64_t cl_key_from_mac(uint8_t hw[6]) uint8_t hw[6]; uint64_t key; } key; - - memcpy(key.hw, hw, sizeof(hw)); + + memcpy(key.hw, hw, sizeof(key.hw)); return key.key; } |