summaryrefslogtreecommitdiff
path: root/lib/prefix.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-26 08:05:36 -0400
committerGitHub <noreply@github.com>2017-08-26 08:05:36 -0400
commitc3f779dc1ab632b1ba74bf16c39dc2f18e6187bc (patch)
tree9e6fb20b162b8f3ce619b8a7be515cd741242c39 /lib/prefix.h
parente1bd637370df9708af91c699b2510a788625bc5a (diff)
parentd9e5b009554f99230be1eee62daf098403c3cadf (diff)
Merge pull request #1049 from opensourcerouting/openbsd-warnings
fix warnings on OpenBSD
Diffstat (limited to 'lib/prefix.h')
-rw-r--r--lib/prefix.h2
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)));