diff options
| author | Russ White <russ@riw.us> | 2023-07-11 10:20:04 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-11 10:20:04 -0400 |
| commit | 91336417f52280e9605aaeec73f9ff13e10df650 (patch) | |
| tree | e5dd00bf7af05f0f20817f54b5e19fcceb211190 /lib | |
| parent | 220d7b1a899b74eee18c9f8d4ff9a4f38ec2c0fc (diff) | |
| parent | c10d1c8acacfc9406031cab2e69acd4fe33b76e9 (diff) | |
Merge pull request #13947 from opensourcerouting/feature/bgpd_show_version_if_description_is_not_defined
bgpd: Show neighbors software version if description is not set
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/asn.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -66,10 +66,10 @@ extern char *asn_asn2string(const as_t *as, char *buf, size_t len, ((mode == ASNOTATION_DOT) ? "%pASD" : \ ((mode == ASNOTATION_DOTPLUS) ? "%pASE" : \ "%pASP")) -#define ASN_FORMAT_SPACE(mode) \ - ((mode == ASNOTATION_DOT) ? "%10pASD" : \ - ((mode == ASNOTATION_DOTPLUS) ? "%10pASE" : \ - "%10pASP")) +#define ASN_FORMAT_SPACE(mode) \ + ((mode == ASNOTATION_DOT) \ + ? "%11pASD" \ + : ((mode == ASNOTATION_DOTPLUS) ? "%11pASE" : "%11pASP")) /* for test */ extern void asn_relax_as_zero(bool relax); |
