From d440e3dbf0180e63e461a5c2ec908d1c71327cad Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sat, 26 Aug 2017 01:38:10 +0200 Subject: [PATCH] lib: prefix: fix char value size There are 16 bytes here, not 8. Signed-off-by: David Lamparter --- lib/prefix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/prefix.h b/lib/prefix.h index eab4ac2bb7..a27f46ba0a 100644 --- a/lib/prefix.h +++ b/lib/prefix.h @@ -125,7 +125,7 @@ struct prefix { struct in_addr adv_router; } lp; struct ethaddr prefix_eth; /* AF_ETHERNET */ - u_char val[8]; + u_char val[16]; uintptr_t ptr; struct evpn_addr prefix_evpn; /* AF_EVPN */ } u __attribute__((aligned(8))); -- 2.39.5