From patchwork Thu Dec 8 11:33:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Lindner X-Patchwork-Id: 1431 Return-Path: Received: from nm4.bullet.mail.ukl.yahoo.com (nm4.bullet.mail.ukl.yahoo.com [217.146.182.225]) by open-mesh.org (Postfix) with SMTP id D282C60085B for ; Thu, 8 Dec 2011 12:33:13 +0100 (CET) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key) header.i=@yahoo.de; dkim-adsp=none Received: from [217.146.183.180] by nm4.bullet.mail.ukl.yahoo.com with NNFMP; 08 Dec 2011 11:33:13 -0000 Received: from [77.238.184.73] by tm11.bullet.mail.ukl.yahoo.com with NNFMP; 08 Dec 2011 11:33:13 -0000 Received: from [127.0.0.1] by smtp142.mail.ukl.yahoo.com with NNFMP; 08 Dec 2011 11:33:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1323343993; bh=QpTXAXmkw2PpsMw0vOgQpcB/4VM876PdMx4uMSBgSxM=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer; b=IAfN4nZx7PyKWUKokGpDNPOoPF85D/uwvBL0xdXANlVzCKU7li1+Knx9umYCW+mWddIiGsoLI5AEM0K9qp0y6HILumD/Wtm9u8rBEytXIfYhw3jkLRgc+lx4x1uQ/U0UHYY52P5qbxY//PdwU81CUc5e3N+u6/LHJFdiLsjm6LU= X-Yahoo-Newman-Id: 605378.82697.bm@smtp142.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: qXZr8.IVM1mCaLSwLAw1ZAUEtyDNGf5yk2syRP_L_woQqys sN4Es8QuB4csbeYXHd3tcJn5mhe6IMRFBD242QPsSQuNZZOB3StS.kl.c_W5 mXs3B0RRN4MBxOlfS.5jbFx6nBWiwAruuUImTtELqOl7Ho.xXBBccWWrpzTH rFoCRGCaqt.NiDCV4y_1a69mTy0k6HUTm4WuhRuqLIfLbROe8xMIOsogH3a0 3PXAU_NZcynk33Ghl510GRCDONIUsEOA9gr2JstDkBR9I.Po7O5Q2sTCzobZ Kzm4JO.5A6FvJKEBYdAUE548sh2Z1z1zFrIXziTgiaTn9325JihpqAHr0ZSl Ve4YVGQdcXtGAZilrypT47b_sU7cST4Yahh5g6Iy8pFk8gQ-- X-Yahoo-SMTP: tW.h3tiswBBMXO2coYcbPigGD5Lt6zY_.Zc- Received: from localhost (lindner_marek@210.177.7.38 with plain) by smtp142.mail.ukl.yahoo.com with SMTP; 08 Dec 2011 11:33:12 +0000 GMT From: Marek Lindner To: b.a.t.m.a.n@lists.open-mesh.org Date: Thu, 8 Dec 2011 19:33:06 +0800 Message-Id: <1323343986-5724-1-git-send-email-lindner_marek@yahoo.de> X-Mailer: git-send-email 1.7.5.4 Cc: Marek Lindner Subject: [B.A.T.M.A.N.] [PATCH] batctl: fix log level 'all' X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2011 11:33:14 -0000 Signed-off-by: Marek Lindner --- sys.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sys.c b/sys.c index e510bee..105bb51 100644 --- a/sys.c +++ b/sys.c @@ -213,7 +213,7 @@ int handle_loglevel(char *mesh_iface, int argc, char **argv) log_level = 0; break; } else if (strcmp(argv[i], "all") == 0) { - log_level = 15; + log_level = 7; break; } else if (strcmp(argv[i], "batman") == 0) log_level |= (1 << 0);