From: David Lamparter Date: Fri, 25 Aug 2017 23:38:10 +0000 (+0200) Subject: lib: prefix: fix char value size X-Git-Tag: frr-4.0-dev~373^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=d440e3dbf0180e63e461a5c2ec908d1c71327cad;p=matthieu%2Ffrr.git lib: prefix: fix char value size There are 16 bytes here, not 8. Signed-off-by: David Lamparter --- 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)));