From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH] misc-progs: wirelessctrl: Fix missing whitespace for log prefix Date: Thu, 03 Nov 2022 15:09:19 +0000 Message-ID: <18b1acd1-b9f4-254f-9974-9f21e65930e6@ipfire.org> In-Reply-To: <20221102103006.650377-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6200447238893055167==" List-Id: --===============6200447238893055167== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Peter M=C3=BCller > Fixes: #12978 > Signed-off-by: Michael Tremer > --- > src/misc-progs/wirelessctrl.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/src/misc-progs/wirelessctrl.c b/src/misc-progs/wirelessctrl.c > index 7cffc89df..d31901be1 100644 > --- a/src/misc-progs/wirelessctrl.c > +++ b/src/misc-progs/wirelessctrl.c > @@ -168,13 +168,13 @@ int main(void) { > =20 > /* with this rule you can disable the logging of the dropped wireless inp= ut packets*/ > if (findkey(kv, "DROPWIRELESSINPUT", buffer) && strcmp(buffer, "on") =3D= =3D 0) { > - snprintf(command, STRING_SIZE-1, "/sbin/iptables --wait -A WIRELESSINPUT= -i %s -j LOG --log-prefix 'DROP_Wirelessinput'", blue_dev); > + snprintf(command, STRING_SIZE-1, "/sbin/iptables --wait -A WIRELESSINPUT= -i %s -j LOG --log-prefix 'DROP_Wirelessinput '", blue_dev); > safe_system(command); > } > =20 > /* with this rule you can disable the logging of the dropped wireless for= ward packets*/ > if (findkey(kv, "DROPWIRELESSFORWARD", buffer) && strcmp(buffer, "on") = =3D=3D 0) { > - snprintf(command, STRING_SIZE-1, "/sbin/iptables --wait -A WIRELESSFORWA= RD -i %s -j LOG --log-prefix 'DROP_Wirelessforward'", blue_dev); > + snprintf(command, STRING_SIZE-1, "/sbin/iptables --wait -A WIRELESSFORWA= RD -i %s -j LOG --log-prefix 'DROP_Wirelessforward '", blue_dev); > safe_system(command); > } > =20 --===============6200447238893055167==--