diff options
Diffstat (limited to 'lib/prefix.h')
| -rw-r--r-- | lib/prefix.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/prefix.h b/lib/prefix.h index dacdbf9059..f1aff43689 100644 --- a/lib/prefix.h +++ b/lib/prefix.h @@ -347,6 +347,11 @@ union prefixconstptr { /* Maximum string length of the result of prefix2str */ #define PREFIX_STRLEN 80 +/* Maximum string length of the result of prefix2str for + * long string prefixes (eg. BGP Link-State) + */ +#define PREFIX_STRLEN_EXTENDED 512 + /* * Longest possible length of a (S,G) string is 34 bytes * 123.123.123.123 = 15 * 2 |
