Johnson, John-P63914 wrote:
>> One instance of ntpd is all that is necessary to perform both of these
> 
>> tasks at the same time.
> 
> 
> I realize that what I am trying to do is very easily accomplished with
> one
> instance of ntpd.  However, I assure you that the manner in which I am
> trying to accomplish it is absolutely necessary for my particular
> application.
> 

There is something here that you are not telling us.

> I found a definitive answer in the code.
> 
> ntp_io.c, line 1232
> 
> /*
>  * Check to see if we are going to use the interface
>  * If we don't use it we mark it to drop any packet
>  * received but we still must create the socket and
>  * bind to it. This prevents other apps binding to it
>  * and potentially causing problems with more than one
>  * process fiddling with the clock
>  */
> 
> This explains why an instance was still receiving packets from an
> interface
> that was not specified with '-I'.
> 

Not quite. It's more complicated than that. There are other addresses 
involved like the wildcard addresses and the loopback addresses.

Danny
_______________________________________________
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions

Reply via email to