summaryrefslogtreecommitdiff
path: root/ipacm/inc/IPACM_Log.h
diff options
context:
space:
mode:
authorSkylar Chang <chiaweic@codeaurora.org>2014-05-16 18:47:07 -0700
committerSkylar Chang <chiaweic@codeaurora.org>2014-05-16 21:23:23 -0700
commitd4d49c690120201797cfd55edc20261e8d9de4c7 (patch)
tree59a1fbc9edf602341fa56cd83bdaa21b3036e297 /ipacm/inc/IPACM_Log.h
parentef15eec8455d258af04b36a3033777300a1f8080 (diff)
downloadipacfg-mgr-d4d49c690120201797cfd55edc20261e8d9de4c7.tar.gz
IPACM: add conntrack optimization for lan2lan module
Add conntrack optimization for IPACM lan2lan module such that we add offload links only for transmission pairs with active connections. Change-Id: I8088c38584dc64e96458737002a52c656c17862b
Diffstat (limited to 'ipacm/inc/IPACM_Log.h')
-rw-r--r--ipacm/inc/IPACM_Log.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipacm/inc/IPACM_Log.h b/ipacm/inc/IPACM_Log.h
index 54be34a..c54d05b 100644
--- a/ipacm/inc/IPACM_Log.h
+++ b/ipacm/inc/IPACM_Log.h
@@ -59,8 +59,12 @@ extern "C"
#ifdef DEBUG
#define IPACMDBG(fmt, ...) syslog(LOG_DEBUG, "%s:%d %s() " fmt, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__);\
printf("%s:%d %s() " fmt, __FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__);
+
+#define IPACMLOG(fmt, ...) syslog(LOG_DEBUG, fmt, ##__VA_ARGS__);\
+ printf(fmt, ##__VA_ARGS__);
#else
#define IPACMDBG(fmt, ...)
+#define IPACMLOG(fmt, ...)
#endif