From patchwork Mon Jul 15 00:38:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 2348 Return-Path: Received: from mail01.ipfire.org (mail01.i.ipfire.org [172.28.1.200]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail01.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web07.i.ipfire.org (Postfix) with ESMTPS id 1BA718808A4 for ; Sun, 14 Jul 2019 15:38:34 +0100 (BST) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 45mq6119Bbz5Fdm4; Sun, 14 Jul 2019 15:38:33 +0100 (BST) Received: from [127.0.0.1] (tor-exit-2.zbau.f3netze.de [IPv6:2a0b:f4c0:16c:2::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 45mq5x3msjz5FdlH; Sun, 14 Jul 2019 15:38:29 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904rsa; t=1563115110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iP88OoN2IbodTgkmEw53yZNkJ0g85zb27kg3GrzSOrA=; b=a2mOCkyhsFFM6UEc5quHxF4XeaNlV/Q+DwxwYyIL/XmEeau02vIaCgDPOqotW1+zljqd2g NBMVDKgs6VzdsrzQKbcr5zqYzd5n4QSVKOcF7VSyQl38lWmZ4mAwry6A+U1+xqUtKK2O7g zL29Flwob+Z2YjFT4D7ZUA0eLCbWETA8VFPLTj15KITLHg7V7y1jvS7UAf1+SPZvMVFM0q f7yaU0eVVWjugIJAXCzZOg610wuWQKUdAGmeYdoTw2qvZDlVeEbGU72w6Kf1+4d9zH7InL 9zGS6g93oIIFK+TL+7EiLfdhxdQDqFVl1xi7ohnGbwgZMNAMGKchiR0+xZnxYg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201904ed25519; t=1563115110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iP88OoN2IbodTgkmEw53yZNkJ0g85zb27kg3GrzSOrA=; b=tfgscy5rB4nFKLZr/xC+hmgIMr7TNjd6Aq4EefA8WoMJkPUzeuFiDV826GZETjjObpVebc qR4i9dc+asbpvdBw== Subject: [PATCH] unbound-dhcp-leases-bridge: handle PTR generation parameter To: Matthias Fischer , "IPFire: Development-List" References: From: =?utf-8?q?Peter_M=C3=BCller?= Organization: IPFire.org Message-ID: Date: Sun, 14 Jul 2019 14:38:00 +0000 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Authentication-Results: mail01.ipfire.org; auth=pass smtp.auth=pmueller smtp.mailfrom=peter.mueller@ipfire.org X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Peter Müller Reported-by: Matthias Fischer --- config/rootfiles/core/135/filelists/files | 1 + config/unbound/unbound-dhcp-leases-bridge | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/core/135/filelists/files b/config/rootfiles/core/135/filelists/files index 780d4aef5..3d868d324 100644 --- a/config/rootfiles/core/135/filelists/files +++ b/config/rootfiles/core/135/filelists/files @@ -9,3 +9,4 @@ etc/rc.d/init.d/functions etc/rc.d/init.d/partresize etc/rc.d/init.d/unbound etc/sysctl.conf +usr/sbin/unbound-dhcp-leases-bridge diff --git a/config/unbound/unbound-dhcp-leases-bridge b/config/unbound/unbound-dhcp-leases-bridge index a8cd837bb..64306bc9b 100644 --- a/config/unbound/unbound-dhcp-leases-bridge +++ b/config/unbound/unbound-dhcp-leases-bridge @@ -153,7 +153,7 @@ class UnboundDHCPLeasesBridge(object): line = line.rstrip() try: - enabled, ipaddr, hostname, domainname = line.split(",") + enabled, ipaddr, hostname, domainname, generateptr = line.split(",") except: log.warning("Could not parse line: %s" % line) continue