diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-14 16:48:41 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-14 16:59:44 +0200 |
commit | 20a6c6f31fac606910a8794b35783ae9ccd2230b (patch) | |
tree | 53e7dcdeae91f932a146ff932c387ca7873e7322 /ospf6d | |
parent | *: fix GCC 7 switch/case fallthrough warnings (diff) | |
download | frr-20a6c6f31fac606910a8794b35783ae9ccd2230b.tar.xz frr-20a6c6f31fac606910a8794b35783ae9ccd2230b.zip |
*: fix GCC 7 warnings/issues
The label initializer & nhrpd variable are just to shut up GCC 7,
the other two are actual bugs.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d')
-rw-r--r-- | ospf6d/ospf6_route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_route.c b/ospf6d/ospf6_route.c index 7b01c69a8..d223651f4 100644 --- a/ospf6d/ospf6_route.c +++ b/ospf6d/ospf6_route.c @@ -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: |