From 7594d30611d7c4bec52ab90580b705fbf5d60925 Mon Sep 17 00:00:00 2001 From: Hani Benhabiles Date: Mon, 14 Oct 2013 23:14:24 +0100 Subject: [PATCH] conntrackd: Don't hardcode libs dir path Use CONNTRACKD_LIB_DIR instead of hardcoded path. Signed-off-by: Hani Benhabiles Signed-off-by: Pablo Neira Ayuso --- src/read_config_yy.y | 3 +-- 1 file changed, 1 insertion(+), 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,7 +1613,6 @@ } - /* 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); -- 1.8.4.5