Add an option to assign server/client port in udhcp[cd] ?
Jazz Yao-Tsung Wang
jazzwang.tw at gmail.com
Wed Nov 14 09:38:00 PST 2007
Hi,
Here is the patch for busybox-1.8.1 which introduce new option -P for
udhcp[c/d].
We had tested it with configuration files in udhcp_configs.tar.gz.
Sincerely yours,
Jazz Yao-Tsung Wang
On Wednesday 29 August 2007 04:46, Denys Vlasenko wrote:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.8.1_udhcp.patch_v1
Type: application/octet-stream
Size: 12792 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20071115/5e2d5956/attachment-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udhcp_configs.tar.gz
Type: application/x-gzip
Size: 6980 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20071115/5e2d5956/attachment-0001.bin
More information about the busybox
mailing list