From: Harlan Stenn Date: Fri, 26 Jan 2018 05:24:23 +0000 (+0000) Subject: Show ippeerlimit for the address of the incoming packet X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53ed477d9945703629a2bdf6db0e9e938e5599c7;p=thirdparty%2Fntp.git Show ippeerlimit for the address of the incoming packet bk: 5a6abb87lcBep5azdnbdRDjYTYyBJQ --- diff --git a/ntpd/ntp_proto.c b/ntpd/ntp_proto.c index b3ecc8419..d47690bf9 100644 --- a/ntpd/ntp_proto.c +++ b/ntpd/ntp_proto.c @@ -638,9 +638,9 @@ receive( hisleap = PKT_LEAP(pkt->li_vn_mode); hismode = (int)PKT_MODE(pkt->li_vn_mode); hisstratum = PKT_TO_STRATUM(pkt->stratum); - DPRINTF(2, ("receive: at %ld %s<-%s mode %d iflags %s restrict %s org %#010x.%08x xmt %#010x.%08x\n", + DPRINTF(2, ("receive: at %ld %s<-%s ippeerlimit %d mode %d iflags %s restrict %s org %#010x.%08x xmt %#010x.%08x\n", current_time, stoa(&rbufp->dstadr->sin), - stoa(&rbufp->recv_srcadr), hismode, + stoa(&rbufp->recv_srcadr), r4a.ippeerlimit, hismode, build_iflags(rbufp->dstadr->flags), build_rflags(restrict_mask), ntohl(pkt->org.l_ui), ntohl(pkt->org.l_uf),