Allocate UDP ports randomly in Android NDK build.

This commit is contained in:
Tobias Brunner 2012-04-20 15:16:51 +02:00
parent 224ab4c59b
commit 95dacbbc70

View File

@ -44,7 +44,8 @@ strongswan_CFLAGS := \
-DUSE_IKEV2 \
-DUSE_VSTR \
-DDEBUG \
-DCHARON_UDP_PORT=4000 \
-DCHARON_UDP_PORT=0 \
-DCHARON_NATT_PORT=0 \
-DVERSION=\"$(strongswan_VERSION)\" \
-DDEV_RANDOM=\"/dev/random\" \
-DDEV_URANDOM=\"/dev/urandom\"