summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-09-22 10:17:49 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-09-22 12:12:11 +0200
commitc4f64ea94df36395889ca88c50fd198ce95bc73d (patch)
treee40b1a7fdf830a47ab702cfc39f4d35b62c2921a /lib
parentMerge pull request #11986 from opensourcerouting/fix/drop_outdated_files (diff)
downloadfrr-c4f64ea94df36395889ca88c50fd198ce95bc73d.tar.xz
frr-c4f64ea94df36395889ca88c50fd198ce95bc73d.zip
bgpd: Use %pRD for prefix_rd2str()
Convert a bunch of prefix_rd2str() for json/vty stuff. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/prefix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/prefix.h b/lib/prefix.h
index 7b2f88987..b90431153 100644
--- a/lib/prefix.h
+++ b/lib/prefix.h
@@ -674,6 +674,7 @@ static inline bool ipv4_mcast_ssm(const struct in_addr *addr)
#pragma FRR printfrr_ext "%pFX" (struct prefix_eth *)
#pragma FRR printfrr_ext "%pFX" (struct prefix_evpn *)
#pragma FRR printfrr_ext "%pFX" (struct prefix_fs *)
+#pragma FRR printfrr_ext "%pRD" (struct prefix_rd *)
#pragma FRR printfrr_ext "%pPSG4" (struct prefix_sg *)
#endif