[PATCH] ntpd: Add option -I to ntpd server

Harald Becker ralda at gmx.de
Sun Jul 6 22:54:44 UTC 2014


Hi Nikolaus !

> ... attached is a patch to add the command line option -I
> (bind server to specific interface) to the busybox ntpd.

As a suggestion: Can't we just extend the -l (lowercase letter L) option 
for this purpose? If -l is given without further information, ntpd bind 
to all interfaces (the default address), else ntpd binds to the given 
Interface/Address. This way we do not introduce a new option.

The help text of -l would be "-l [INTERFACE]  listen on port 123 of 
given INTERFACE (default all Interfaces)".

--
Harald





More information about the busybox mailing list