From patchwork Thu Dec 17 14:00:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Dedecker X-Patchwork-Id: 558365 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id CAB891401AF for ; Fri, 18 Dec 2015 01:00:33 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=umbN4cZw; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 4254428BC4F; Thu, 17 Dec 2015 15:00:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id B967C28BC4D for ; Thu, 17 Dec 2015 15:00:05 +0100 (CET) X-policyd-weight: using cached result; rate:hard: -8.5 Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 17 Dec 2015 15:00:05 +0100 (CET) Received: by mail-wm0-f51.google.com with SMTP id l126so22663888wml.0 for ; Thu, 17 Dec 2015 06:00:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=5D/Av1x6vYGb/aWZwElU8tvcz96B/SLVYniGB2pJppo=; b=umbN4cZwHDFusdx7ueGVJad8CKhcYe6j4SLTVKqfea3jWAiuPXXVu7DYnSDwjViuGV qlMMOo03cesaL2eAkMF1VtPTevudm7YEWQXGYUtIyfwZaduZvJr54wTKZOv9WgijAt1e c0zePrErso6o1jcPar2sCQFdEDq8bcU2WLcK+K2iOLr7PbAARB9zQwV6NrxDQv+ne1Om wwH9lIpeNTeGBeO9W+Ao1qdD8LFdj+PNT/3WDjQrYsPBMCrq/0WHp6JH1JGMxRkPfF45 /2tfi9eCDfM94MUx4g4StFTU3bhWS4YjFYzuyLGQVf2Y6Z9YBJRcI+uIqlJ6gtdAlk/U 85lA== X-Received: by 10.28.14.202 with SMTP id 193mr4417454wmo.9.1450360820609; Thu, 17 Dec 2015 06:00:20 -0800 (PST) Received: from cplx43.eu.thmulti.com ([141.11.62.7]) by smtp.gmail.com with ESMTPSA id q7sm10612250wjz.12.2015.12.17.06.00.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Dec 2015 06:00:19 -0800 (PST) From: Hans Dedecker To: openwrt-devel@lists.openwrt.org Date: Thu, 17 Dec 2015 15:00:11 +0100 Message-Id: <1450360811-3536-1-git-send-email-dedeckeh@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: Hans Dedecker , cyrus@openwrt.org Subject: [OpenWrt-Devel] [PATCH] dnsmasq: Add option --no-ping X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" By default dnsmasq sends an ICMP echo request before allocating an IP address to a host; the uci option noping allows to disable this check. Signed-off-by: Hans Dedecker --- package/network/services/dnsmasq/files/dnsmasq.init | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index d593a51..0682bfd 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -137,6 +137,7 @@ dnsmasq() { append_bool "$cfg" quietdhcp "--quiet-dhcp" append_bool "$cfg" sequential_ip "--dhcp-sequential-ip" append_bool "$cfg" allservers "--all-servers" + append_bool "$cfg" noping "--no-ping" append_parm "$cfg" dhcpscript "--dhcp-script" append_parm "$cfg" cachesize "--cache-size"