Henning Brauer wrote:
* Daniel Ouellet <[EMAIL PROTECTED]> [2005-06-02 20:57]:

How to: I wish to use the same server running ntpd from Henning as the server, but I haven't find a way to have two daemon running on different IP's that would be off by one hour each.

So, is it possible first to do that?


no.

well, you might just run version hacked up to alwas add an hour after doing the gettimeofday(), but that is really hacky.

I don't intend to add a knob for that, this is really Yet Another Cisco Fuckup.


Thanks!

I hacked it and my process is now called

"Cisco brain dead ntp engine"

Except that I did the changes in the server_dispatch instead.

The gettimeofday() actually would also affect the local time of the server. This way I changed only the message send in reply to clients and only affect that.

        reply.rectime = d_to_lfp(3600 + rectime);
        reply.reftime = d_to_lfp(3600 + conf->status.reftime);
        reply.xmttime = d_to_lfp(3600 + gettime());

Not very elegant, but hey, that's for a brain dead Cisco VoIP phone! (:>

I think I might just add an entry in my dns like this

edt-only-for-brain-dead-cisco-est-edt-timezone-like-ntp-client.presscom.net

It's a dirty hack, but it will address the issue until Cisco fix it's shit I hope! If not, I will need to make it remove the correction automatically for EST/EDT switch then.

Thanks for your time.

Daniel

Reply via email to