From: Victor Julien Date: Fri, 5 Nov 2021 11:23:48 +0000 (+0100) Subject: af-packet: minor output updates X-Git-Tag: suricata-7.0.0-beta1~1162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d272075da0072611bed08922c3f03f7acffbce99;p=thirdparty%2Fsuricata.git af-packet: minor output updates --- diff --git a/src/runmode-af-packet.c b/src/runmode-af-packet.c index f0a034c2c8..c6d79966df 100644 --- a/src/runmode-af-packet.c +++ b/src/runmode-af-packet.c @@ -247,7 +247,7 @@ static void *ParseAFPConfig(const char *iface) (void)ConfGetChildValueBoolWithDefault( if_root, if_default, "use-emergency-flush", (int *)&boolval); if (boolval) { - SCLogConfig("Enabling ring emergency flush on iface %s", aconf->iface); + SCLogConfig("Enabling emergency ring flush on iface %s", aconf->iface); aconf->flags |= AFP_EMERGENCY_MODE; } @@ -680,8 +680,6 @@ finalize: /* If we are using copy mode we need a lock */ aconf->flags |= AFP_SOCK_PROTECT; } - - SCLogConfig("%s: enabling zero copy mode by using data release call", iface); return aconf; }