This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, next has been updated via 6376c155b8c02c37d891f91d9bf9e60564430d04 (commit) via 77e1061bf9079dfdd8bad56a41f3c4a053012654 (commit) from 44fc05f634ab3829ea368428845bd4d5412cc2a9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 6376c155b8c02c37d891f91d9bf9e60564430d04 Author: Peter Müller <peter.mueller(a)ipfire.org> Date: Thu Nov 3 15:14:01 2022 +0000 Core Update 172: Ship wirelessctrl Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org> commit 77e1061bf9079dfdd8bad56a41f3c4a053012654 Author: Michael Tremer <michael.tremer(a)ipfire.org> Date: Wed Nov 2 10:30:06 2022 +0000 misc-progs: wirelessctrl: Fix missing whitespace for log prefix Fixes: #12978 Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org> Reviewed-by: Peter Müller <peter.mueller(a)ipfire.org> ----------------------------------------------------------------------- Summary of changes: config/rootfiles/core/172/filelists/files | 1 + src/misc-progs/wirelessctrl.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) Difference in files: diff --git a/config/rootfiles/core/172/filelists/files b/config/rootfiles/core/172/filelists/files index 533d128d1..f69f05489 100644 --- a/config/rootfiles/core/172/filelists/files +++ b/config/rootfiles/core/172/filelists/files @@ -1,5 +1,6 @@ usr/lib/firewall/rules.pl usr/local/bin/addonctrl usr/local/bin/openvpnctrl +usr/local/bin/wirelessctrl srv/web/ipfire/cgi-bin/services.cgi var/ipfire/backup/bin/backup.pl 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) { /* with this rule you can disable the logging of the dropped wireless input packets*/ if (findkey(kv, "DROPWIRELESSINPUT", buffer) && strcmp(buffer, "on") == 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); } /* with this rule you can disable the logging of the dropped wireless forward packets*/ if (findkey(kv, "DROPWIRELESSFORWARD", buffer) && strcmp(buffer, "on") == 0) { - snprintf(command, STRING_SIZE-1, "/sbin/iptables --wait -A WIRELESSFORWARD -i %s -j LOG --log-prefix 'DROP_Wirelessforward'", blue_dev); + snprintf(command, STRING_SIZE-1, "/sbin/iptables --wait -A WIRELESSFORWARD -i %s -j LOG --log-prefix 'DROP_Wirelessforward '", blue_dev); safe_system(command); } hooks/post-receive -- IPFire 2.x development tree