GCC 7.1.1 returned warnings about buffer sizes
not being big enough to handle the full string
that could be generated.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
char brouter_name[16];
char area_name[16];
char destination[64];
- char installed[16], changed[16];
+ char installed[64], changed[64];
struct timeval now, res;
char id[16], adv_router[16];
char capa[16], options[16];
char adv_router[64], id[64];
struct ospf6_lsa_handler *handler;
struct timeval now, res;
- char duration[16];
+ char duration[64];
assert(lsa && lsa->header);
static void ospf6_neighbor_show(struct vty *vty, struct ospf6_neighbor *on)
{
char router_id[16];
- char duration[16];
+ char duration[64];
struct timeval res;
char nstate[16];
- char deadtime[16];
+ char deadtime[64];
long h, m, s;
/* Router-ID (Name) */
{
char router_id[16];
char drouter[16], bdrouter[16];
- char duration[16];
+ char duration[64];
struct timeval now, res;
/*
{
int i;
char destination[PREFIX2STR_BUFFER], nexthop[64];
- char duration[16];
+ char duration[64];
const char *ifname;
struct timeval now, res;
struct listnode *node;
char destination[PREFIX2STR_BUFFER], nexthop[64];
char area_id[16], id[16], adv_router[16], capa[16], options[16];
struct timeval now, res;
- char duration[16];
+ char duration[64];
struct listnode *node;
struct ospf6_nexthop *nh;