Add an option to assign server/client port in udhcp[cd] ?

Denys Vlasenko vda.linux at googlemail.com
Wed Aug 29 11:46:27 UTC 2007


On Tuesday 28 August 2007 02:15, Steven Shiau wrote:
> Hi,
> Just noticed that busybox 1.7 is released, and some new functions added
> . IMHO, I'd like to suggest that an option should be added to assign the
> server and client port in udhcp[cd], i.e.
> These two ports
> #define SERVER_PORT     67
> #define CLIENT_PORT     68
> can be assigned when run udhcpc and udhcpd. This is very useful when
> there is an existing dhcp service in the network subnet, and if people
> would like to put another dhcp service with customized port.

I'm surprised that you actually want this, but it shouldn't be a problem.

Currently, letter P is not used yet in both udhcpc and udhcpd.

Introduce new option -P [ip:]port and post patch to this mailing list.
--
vda



More information about the busybox mailing list