diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2023-04-21 11:56:07 +0200 |
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2023-09-18 14:57:03 +0200 |
| commit | bdb3fa3b9216aede64c5b982011fb04ef25c67f7 (patch) | |
| tree | 57ca5e4069208043238c4fa518a23bd2e32630d2 /bgpd/bgp_table.c | |
| parent | 0c94fb9cc853b3bcc98e8acca9fd03a036d33c92 (diff) | |
bgpd, lib: extend the size of the prefix string buffer
BGP Link-State prefixes are special prefixes that contains a lot of
data.
Extend the length of the prefix string buffer in order to display
properly this type of prefixes with the next commits.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'bgpd/bgp_table.c')
| -rw-r--r-- | bgpd/bgp_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_table.c b/bgpd/bgp_table.c index b9265dd81b..e01bf39113 100644 --- a/bgpd/bgp_table.c +++ b/bgpd/bgp_table.c @@ -63,7 +63,7 @@ struct bgp_dest *bgp_dest_lock_node(struct bgp_dest *dest) const char *bgp_dest_get_prefix_str(struct bgp_dest *dest) { const struct prefix *p = NULL; - static char str[PREFIX_STRLEN] = {0}; + static char str[PREFIX_STRLEN_EXTENDED] = {0}; p = bgp_dest_get_prefix(dest); if (p) |
