tcpsvd,udpsvd: conditionalize usage of SO_ORIGINAL_DST

On systems without this call, $TCPORIGDSTADDR is not set.

Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Jeremie Koenig
2010-05-27 15:46:25 +02:00
committed by Denys Vlasenko
parent 29885114a5
commit 2ea12d8b6d
2 changed files with 5 additions and 2 deletions

View File

@@ -733,7 +733,6 @@ config SLATTACH
config TCPSVD
bool "tcpsvd"
default y
depends on PLATFORM_LINUX
help
tcpsvd listens on a TCP port and runs a program for each new
connection.
@@ -966,7 +965,6 @@ config IFUPDOWN_UDHCPC_CMD_OPTIONS
config UDPSVD
bool "udpsvd"
default y
depends on PLATFORM_LINUX
help
udpsvd listens on an UDP port and runs a program for each new
connection.