]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: prefix: fix char value size
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 25 Aug 2017 23:38:10 +0000 (01:38 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 25 Aug 2017 23:46:40 +0000 (01:46 +0200)
There are 16 bytes here, not 8.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/prefix.h

index eab4ac2bb73d8ebe6e9a02d3df11dae3fce4aca6..a27f46ba0a4e223d65227a0494c8546824f649ae 100644 (file)
@@ -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)));