Ulrich Marx writes:
authorEric Andersen <andersen@codepoet.org>
Fri, 14 Nov 2003 03:00:04 +0000 (03:00 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 14 Nov 2003 03:00:04 +0000 (03:00 -0000)
commitc16686c1e2e29f99de34a79aed30999fd961ca70
tree5192d845815ef38302ce9415352f2aa247931ef6
parent61b038acccba5cceb0e2c8a4662b3a40f4a29493
Ulrich Marx writes:

hello

i had some trouble with the filedescriptor in udhcp.
Two things happened on my device:
1.) broken or not connected cable (no dhcp-server)
2.) daemonizing (starting with option -b)

i got a filedescriptor fd=0 from function raw_socket,
after daemonizing (daemon call) the fd is closed.
Client can't recieve data's anymore.

i fixed this problem (like pidfile handling):
networking/udhcp/socket.c