diff options
author | Hani Benhabiles <kroosec@gmail.com> | 2013-10-14 23:14:24 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-10-15 10:55:26 +0200 |
commit | 7594d30611d7c4bec52ab90580b705fbf5d60925 (patch) | |
tree | d1f6f44eff2b8958b211892ee964731bd706226d /src | |
parent | f3a760cad83a30524ef40d55d18fa1489252c8fb (diff) | |
download | conntrack-tools-7594d30611d7c4bec52ab90580b705fbf5d60925.tar.gz conntrack-tools-7594d30611d7c4bec52ab90580b705fbf5d60925.zip |
conntrackd: Don't hardcode libs dir path
Use CONNTRACKD_LIB_DIR instead of hardcoded path.
Signed-off-by: Hani Benhabiles <kroosec@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/read_config_yy.y | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/read_config_yy.y b/src/read_config_yy.y index fa517bb..73fabbf 100644 --- a/src/read_config_yy.y +++ b/src/read_config_yy.y @@ -1613,8 +1613,7 @@ helper_type: T_TYPE T_STRING T_STRING T_STRING '{' helper_type_list '}' } #ifdef BUILD_CTHELPER - /* XXX use configure.ac definitions. */ - helper = helper_find("/usr/lib/conntrack-tools", $2, l4proto, RTLD_NOW); + helper = helper_find(CONNTRACKD_LIB_DIR, $2, l4proto, RTLD_NOW); if (helper == NULL) { print_err(CTD_CFG_ERROR, "Unknown `%s' helper", $2); exit(EXIT_FAILURE); |