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, master has been updated via 8cc93ee11f1788332847c72afbbb2688b3206023 (commit) from bf137f5bb6c2ba2d13fd88b912705e4c2e9feb6f (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 8cc93ee11f1788332847c72afbbb2688b3206023 Author: Michael Tremer michael.tremer@ipfire.org Date: Fri Apr 23 14:18:01 2010 +0200
misc-progs: Cleanup chain creation of wirelessctrl.
This changes the behaviour of the wirelessctrl binary that will no longer create useless rules in the WIRELESSINPUT and WIRELESSFORWARD chains that have no use at all.
So we keep this chain empty if /var/ipfire/wireless/nodrop is existant.
-----------------------------------------------------------------------
Summary of changes: src/misc-progs/wirelessctrl.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
Difference in files: diff --git a/src/misc-progs/wirelessctrl.c b/src/misc-progs/wirelessctrl.c index 40fb67e..fbcf90e 100644 --- a/src/misc-progs/wirelessctrl.c +++ b/src/misc-progs/wirelessctrl.c @@ -101,11 +101,11 @@ int main(void) exit(0); }
- if (!(fd = fopen(CONFIG_ROOT "/wireless/nodrop", "r"))) - { + if ((fd = fopen(CONFIG_ROOT "/wireless/nodrop", "r"))) + return 0; + /* register exit handler to ensure the block rule is always present */ atexit(exithandler); - }
if (!(fd = fopen(CONFIG_ROOT "/wireless/config", "r"))) {
hooks/post-receive -- IPFire 2.x development tree