summaryrefslogtreecommitdiffstats
path: root/src/runmode-napatech.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runmode-napatech.c')
-rw-r--r--src/runmode-napatech.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/runmode-napatech.c b/src/runmode-napatech.c
index cb8f560..fe02124 100644
--- a/src/runmode-napatech.c
+++ b/src/runmode-napatech.c
@@ -200,7 +200,12 @@ static void *NapatechConfigParser(const char *device)
if (ConfGetInt("napatech.hba", &conf->hba) == 0) {
conf->hba = -1;
} else {
- SCLogWarning("Napatech Host Buffer Allocation (hba) will be deprecated in Suricata v7.0.");
+ static bool warn_once = false;
+ if (!warn_once) {
+ SCLogWarning(
+ "Napatech Host Buffer Allowance (hba) will be deprecated in Suricata v8.0.");
+ warn_once = true;
+ }
}
return (void *) conf;
}