summaryrefslogtreecommitdiffstats
path: root/bfdd/dplane.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-02-16 00:46:48 +0100
committerDavid Lamparter <equinox@diac24.net>2021-02-16 00:47:51 +0100
commitf1db813dbbe6e4668bc5d3d4cb1506de7b36fabe (patch)
tree52751361bf0bed323b576fa19bf8e753c9d99246 /bfdd/dplane.c
parentMerge pull request #8050 from taspelund/bgp_vpn_advertised_routes (diff)
downloadfrr-f1db813dbbe6e4668bc5d3d4cb1506de7b36fabe.tar.xz
frr-f1db813dbbe6e4668bc5d3d4cb1506de7b36fabe.zip
*: fix format string SNAFUs
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'bfdd/dplane.c')
-rw-r--r--bfdd/dplane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfdd/dplane.c b/bfdd/dplane.c
index b8f0aadd9..66b79f3b1 100644
--- a/bfdd/dplane.c
+++ b/bfdd/dplane.c
@@ -169,8 +169,8 @@ static void bfd_dplane_debug_message(const struct bfddp_message *msg)
&msg->data.session.dst);
else
snprintfrr(addrs, sizeof(addrs), "src=%pI4 dst=%pI4",
- &msg->data.session.src,
- &msg->data.session.dst);
+ (struct in_addr *)&msg->data.session.src,
+ (struct in_addr *)&msg->data.session.dst);
buf[0] = 0;
if (flags & SESSION_CBIT)