diff --git a/src/suricata.c b/src/suricata.c index 50690df9c7..70db2432e8 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -2610,7 +2610,7 @@ static int PostConfLoadedSetup(SCInstance *suri) if (suri->checksum_validation == -1) { const char *cv = NULL; - if (ConfGet("capture.checksum-validation", &cv) == 1) { + if (ConfGetValue("capture.checksum-validation", &cv) == 1) { if (strcmp(cv, "none") == 0) { suri->checksum_validation = 0; } else if (strcmp(cv, "all") == 0) { @@ -2648,7 +2648,7 @@ static int PostConfLoadedSetup(SCInstance *suri) SCReturnInt(TM_ECODE_FAILED); } - if (ConfGet("host-mode", &hostmode) == 1) { + if (ConfGetValue("host-mode", &hostmode) == 1) { if (!strcmp(hostmode, "router")) { host_mode = SURI_HOST_IS_ROUTER; } else if (!strcmp(hostmode, "sniffer-only")) {