]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Show ippeerlimit for the address of the incoming packet
authorHarlan Stenn <stenn@ntp.org>
Fri, 26 Jan 2018 05:24:23 +0000 (05:24 +0000)
committerHarlan Stenn <stenn@ntp.org>
Fri, 26 Jan 2018 05:24:23 +0000 (05:24 +0000)
bk: 5a6abb87lcBep5azdnbdRDjYTYyBJQ

ntpd/ntp_proto.c

index b3ecc84198b7016fa24cca0e960c657a6864d17e..d47690bf9cae5265e627172910b04f7fa86ce10e 100644 (file)
@@ -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),