diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-08-26 01:38:10 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-08-26 01:46:40 +0200 | 
| commit | d440e3dbf0180e63e461a5c2ec908d1c71327cad (patch) | |
| tree | d96792aac8c87c0e2357cd6ddbd7661242102652 /lib/prefix.h | |
| parent | 8c9cc7bbf657e3440d9bc758fe45aef5f43c989f (diff) | |
lib: prefix: fix char value size
There are 16 bytes here, not 8.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/prefix.h')
| -rw-r--r-- | lib/prefix.h | 2 | 
1 files changed, 1 insertions, 1 deletions
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)));  | 
