From: Alan T. DeKok Date: Tue, 7 Mar 2023 20:23:36 +0000 (-0500) Subject: print out source IP of received packet, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f8c29303184d0e29bfdd7c7b9528f2a70b2229e;p=thirdparty%2Ffreeradius-server.git print out source IP of received packet, too --- diff --git a/src/listen/bfd/proto_bfd_udp.c b/src/listen/bfd/proto_bfd_udp.c index c8744122230..93c6a91be1e 100644 --- a/src/listen/bfd/proto_bfd_udp.c +++ b/src/listen/bfd/proto_bfd_udp.c @@ -156,9 +156,10 @@ static ssize_t mod_read(fr_listen_t *li, void **packet_ctx, fr_time_t *recv_time /* * Print out what we received. */ - DEBUG2("proto_bfd_udp - Received %s ID length %d %s", + DEBUG2("proto_bfd_udp %s - Received %s ID length %d on %s from %pV:%u", fr_bfd_packet_names[packet->state], - (int) packet_len, thread->name); + (int) packet_len, thread->name, + fr_box_ipaddr(address->socket.inet.src_ipaddr), address->socket.inet.src_port); return packet_len; }