]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospf6d: Fix gcc 7 warning
authorMartin Winter <mwinter@opensourcerouting.org>
Tue, 5 Dec 2017 04:02:49 +0000 (20:02 -0800)
committerMartin Winter <mwinter@opensourcerouting.org>
Tue, 5 Dec 2017 08:33:41 +0000 (00:33 -0800)
Originally fixed in master as part of commit 20a6c6f by David Lamparter

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
ospf6d/ospf6_route.c

index 43402f0c4467c453d7cd198fed223406730a48d8..1c414b35ce95c3f814e693cb7d4036301a28aaf9 100644 (file)
@@ -43,7 +43,7 @@ unsigned char conf_debug_ospf6_route = 0;
 
 static char *ospf6_route_table_name(struct ospf6_route_table *table)
 {
-       static char name[32];
+       static char name[64];
        switch (table->scope_type) {
        case OSPF6_SCOPE_TYPE_GLOBAL: {
                switch (table->table_type) {