[ntp:questions] 0.0.0.0 in log messages, ntp v4.2.6p5

harikvpy at gmail.com harikvpy at gmail.com
Thu Sep 25 06:23:13 UTC 2014


Does anybody know why the IP address reported in NTP log messages is always 0.0.0.0?

For example the message written while stepping the clock looks like this:

Sep 25 13:03:47 ntpd[1818]: 0.0.0.0 061c 0c clock_step +340.491291 s

I looked into ntpd source and it's always passing a NULL for report_event()'s second parameter where it should be passing the peer with which the local clock is being sync'ed. Interestingly the peer information is available, yet it's not being passed as second argument. Why?

TIA.

Hari



More information about the questions mailing list