summaryrefslogtreecommitdiffstats
path: root/pathd/path_pcep_debug.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-03-17 06:23:19 +0100
committerDavid Lamparter <equinox@diac24.net>2021-03-17 06:30:53 +0100
commit4d39e49673035f74d5a59d654f5c27c81fcb41d5 (patch)
tree0335f9f5fcf8d38a30aaa71b5974c012f878a5e0 /pathd/path_pcep_debug.c
parentMerge pull request #8258 from volta-networks/feat_ldp_snmp_with_stats (diff)
downloadfrr-4d39e49673035f74d5a59d654f5c27c81fcb41d5.tar.xz
frr-4d39e49673035f74d5a59d654f5c27c81fcb41d5.zip
pathd: fix %pI4 <> %pI6 snafu
... as noted by the frr-format GCC plugin. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'pathd/path_pcep_debug.c')
-rw-r--r--pathd/path_pcep_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathd/path_pcep_debug.c b/pathd/path_pcep_debug.c
index 2dfe2130b..d222371bb 100644
--- a/pathd/path_pcep_debug.c
+++ b/pathd/path_pcep_debug.c
@@ -1288,7 +1288,7 @@ void _format_path_hop(int ps, struct path_hop *hop)
&hop->nai.remote_addr.ipaddr_v6);
break;
case PCEP_SR_SUBOBJ_NAI_UNNUMBERED_IPV4_ADJACENCY:
- PATHD_FORMAT("%*sNAI: %pI4(%u)/%pI4(%u)\n", ps, "",
+ PATHD_FORMAT("%*sNAI: %pI6(%u)/%pI6(%u)\n", ps, "",
&hop->nai.local_addr.ipaddr_v6,
hop->nai.local_iface,
&hop->nai.remote_addr.ipaddr_v6,