]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Add info on cast_flags in newpeer
authorDanny Mayer <mayer@ntp.org>
Fri, 3 Dec 2004 01:58:35 +0000 (20:58 -0500)
committerDanny Mayer <mayer@ntp.org>
Fri, 3 Dec 2004 01:58:35 +0000 (20:58 -0500)
bk: 41afc84b_XV0TCd87qG55miPCoym-g

ntpd/ntp_peer.c

index 2434d3f8ece8d71db28e2cf6faa6906abe0a4b46..b6aa9763b38fcdf3465fee1f8caa3725b062b503 100644 (file)
@@ -568,6 +568,11 @@ newpeer(
        if (++current_association_ID == 0)
                ++current_association_ID;
 
+#ifdef DEBUG
+       if (debug >2)
+               printf("newpeer: cast flags: 0x%x for address: %s\n",
+                       cast_flags, stoa(srcadr));
+#endif
        /*
         * Initialize the peer structure and dance the interface jig.
         * Reference clocks step the loopback waltz, the others