Squashed commit of the following:
commit
cdab8058b0bd8ef59923dc978d09e279e5f0b8bc
Author: Sreeja Athirkandathil Narayanan <sathirka@cisco.com>
Date: Wed Oct 16 11:37:05 2019 -0400
appid: Updating the path to userappid.conf
#include <climits>
#include <string>
+#include <unistd.h>
#include "appid_api.h"
#include "appid_config.h"
load_appid_config (mod_config, filepath);
snprintf(filepath, sizeof(filepath), "%s/custom/%s", mod_config->app_detector_dir,
USR_CONFIG_FILE);
+ if (access (filepath, F_OK))
+ snprintf(filepath, sizeof(filepath), "%s/../%s", mod_config->app_detector_dir,
+ USR_CONFIG_FILE);
load_appid_config (mod_config, filepath);
}
}