summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_btoa.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2023-02-21 14:01:03 +0100
committerGitHub <noreply@github.com>2023-02-21 14:01:03 +0100
commitba755d35e508c2452e5459bdd7c0dd67a70a88a4 (patch)
treeadc08f46788b8012240faec23ae7e7271bb0d40d /bgpd/bgp_btoa.c
parentMerge pull request #12849 from opensourcerouting/fix/tests_enum (diff)
parentbgpd: handle case where passed RD is null (diff)
downloadfrr-ba755d35e508c2452e5459bdd7c0dd67a70a88a4.tar.xz
frr-ba755d35e508c2452e5459bdd7c0dd67a70a88a4.zip
Merge pull request #12248 from pguibert6WIND/bgpasdot
lib, bgp: add initial support for asdot format
Diffstat (limited to 'bgpd/bgp_btoa.c')
-rw-r--r--bgpd/bgp_btoa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_btoa.c b/bgpd/bgp_btoa.c
index b410a4b89..fc3363b09 100644
--- a/bgpd/bgp_btoa.c
+++ b/bgpd/bgp_btoa.c
@@ -86,7 +86,8 @@ static void attr_parse(struct stream *s, uint16_t len)
case BGP_ATTR_AS_PATH: {
struct aspath *aspath;
- aspath = aspath_parse(s, length, 1);
+ aspath = aspath_parse(s, length, 1,
+ bgp_get_asnotation(NULL));
printf("ASPATH: %s\n", aspath->str);
aspath_free(aspath);
} break;