aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2014-04-04 11:15:00 +0900
committerLorenzo Colitti <lorenzo@google.com>2014-04-04 11:15:00 +0900
commit1487b6cb1977db52f733aa7df2136c69aa062835 (patch)
treec318eee9db02d3eae6329155f97737a4b405c434
parent58ecd3b7c76263900e38921360e334a416aec362 (diff)
downloadnetperf-1487b6cb1977db52f733aa7df2136c69aa062835.tar.gz
Enable IPv6 in netperf.
Compiles and works with IPv6 support. Change-Id: Ic016ee5b6510d76d040837c871eb63d06644421d
-rw-r--r--Android.mk2
-rw-r--r--config.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index 97fa456..e27e0de 100644
--- a/Android.mk
+++ b/Android.mk
@@ -14,7 +14,7 @@
LOCAL_PATH := $(call my-dir)
-L_DEFS := -DHAVE_CONFIG_H -UAF_INET6
+L_DEFS := -DHAVE_CONFIG_H
L_CFLAGS := $(L_DEFS)
L_USE_CPU_SOURCE := netcpu_none.c
diff --git a/config.h b/config.h
index 5c89615..ad42cd0 100644
--- a/config.h
+++ b/config.h
@@ -4,8 +4,6 @@
/* Define to one to enable dirty buffer support. May affect results. */
/* #undef DIRTY */
-#undef AF_INET6
-
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1