Message ID | 20240405005510.19778-9-newtwen+github@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=LO09mbH7; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=MSKa/BNs; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V9g7R2zj0z23vH for <incoming@patchwork.ozlabs.org>; Fri, 5 Apr 2024 11:57:23 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RU8fdLx5pHoreV2BjlE2mzOj8bD7JPHbbGpVN2UTbgs=; b=LO09mbH7cNRWKu qlLILkMKcBbyofKmmGy+G8A+uCZW1qOBTVKhcuug8nAeyyjQKLGmupous5Zc7S5eQFfAtVJZlwN4a EnRQo5EYA1dAzSt+2Gdx6oiHEn6FephM4HrT/naaW27vKBQNzQdNSTaFtZRF1uNiz+YeoB7eQzviy QIDc4Sd/spsfIT1BRKAnJo6lt8A7Tillr3ysQirkHij1+mxJ3e+sfq11ugAH6ArHgMXb1zd0j5HOq uiqQjqX72joxVSGRrLB2EdhF37N2J1yuQfiiKROd/BPaab3fvoVPSIQOih5XGMex7GFkXQgUPKm5E yk2QtPcn9nwr+oaDZMJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsXrj-00000004kKN-261u; Fri, 05 Apr 2024 00:55:35 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rsXrU-00000004kEs-3BcS for openwrt-devel@lists.openwrt.org; Fri, 05 Apr 2024 00:55:22 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-516d1c8dc79so998277e87.1 for <openwrt-devel@lists.openwrt.org>; Thu, 04 Apr 2024 17:55:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712278518; x=1712883318; darn=lists.openwrt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=x0fIdZpFnzTtWJvLTXqRNNL5wdt943PJZ3ySoFW5Ssc=; b=MSKa/BNs3F181c7MZcWRXAgdh+jdccyyzSfmwysxMJmkAMlZ3dkNMUykTFxQlg99fi EfEg4cVWx20k0g6dmdCWRaK7qtNAur01n/ge6pzbIyGRwT1boUwmJmbsg5qGOArYdK8L EIL4WQEvWnohqgmf8JKEYlgH9NhKZIdu9/AJs0nbC07J8UL4TuB8WjgJrZ/FcchCaRMY n9bSqVT0mz/t5sRRZqwcfnjLPwJx5uS4u/yZGyk0k5IuTlDG0FP2CBlFdOKh+kG5jdSz L/juMcD5hwUH9ilJ+CNfcMUTKhgnBGySdnknFMrv45W4XYdyIjxM18La09MV+TQydM0p Gvbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712278518; x=1712883318; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=x0fIdZpFnzTtWJvLTXqRNNL5wdt943PJZ3ySoFW5Ssc=; b=ekVKoMtpVBHRLOVxntzN3UdnmYXs/o4A/oI83nn96X1InpDZPXt11reEzxGZFUj1Ha zQe/uJ2REsfQLEnCHObqUrol1TOLbc43LNfmywP9wRGAA3bVZ6DvfnrvEUfP3FIBGFOx t2FiBq4EwokAm9hvLFIY3E9thfZyo7ElzJUUWwPc3nCS1y8tjbzV3zPJ3Qe/R6y7eMFJ JLy7KQjVxZ+gOSqDoSuwJEsuRG7I9zrsObHIWg3ReJFQQ/kRWQAHFNA65/lZR+NDEpqa cbuf9srjvKb2TgfB+zNETxI/gudXw8DPa4EidgqyOzA1tSxswPK160XMhct/bio7YQP+ v3iQ== X-Gm-Message-State: AOJu0YwGnzzVgwYpQIermI690lQ1ppmGyejUZnbxd2lTxAQrPhwZjme2 kzrMoZIXzcYH6qt5kWYWAwaTXTmvcUvZDqIyi2hUUkaIy+T0AJWy/ElaMw/KY6I= X-Google-Smtp-Source: AGHT+IE8PHVESPv9gqMV0v2k/fvgy/JL756xG6XyUMfSK/3wNLnKqZ4ycOwBerIlMWIFwpvFXH0miQ== X-Received: by 2002:a19:9103:0:b0:515:ad59:d46a with SMTP id t3-20020a199103000000b00515ad59d46amr588501lfd.21.1712278517842; Thu, 04 Apr 2024 17:55:17 -0700 (PDT) Received: from blackhol3 ([2001:9b0:40::cae3:cb03]) by smtp.gmail.com with ESMTPSA id a1-20020ac25201000000b00516c1bddfecsm46630lfl.182.2024.04.04.17.55.17 for <openwrt-devel@lists.openwrt.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 17:55:17 -0700 (PDT) From: Paul Donald <newtwen+github@gmail.com> To: OpenWrt Development List <openwrt-devel@lists.openwrt.org> Subject: [PATCH 8/9] router: Type comments Date: Fri, 5 Apr 2024 02:53:11 +0200 Message-ID: <20240405005510.19778-9-newtwen+github@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240405005510.19778-1-newtwen+github@gmail.com> References: <20240405005510.19778-1-newtwen+github@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240404_175520_864067_A14BEA23 X-CRM114-Status: GOOD ( 10.81 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Paul Donald Signed-off-by: Paul Donald --- src/router.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router.c b/src/router.c index 4239aa8..c87fd39 100644 --- a/src/router.c +++ b/src/router.c @@ -668,7 +668,7 @@ static int send_router_advert(struct interface *iface, const struct in6 [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [newtwen+github(at)gmail.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:134 listed in] [list.dnswl.org] X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
odhcpd patchset
|
expand
|
diff --git a/src/router.c b/src/router.c index 4239aa8..c87fd39 100644 --- a/src/router.c +++ b/src/router.c @@ -668,7 +668,7 @@ static int send_router_advert(struct interface *iface, const struct in6_addr *fr uint8_t *search_domain = iface->search; uint8_t search_buf[256]; - /* DNS Recursive DNS */ + /* DNS Recursive DNS aka RDNSS Type 25; RFC8106 */ if (iface->dns_cnt > 0) { dns_addr = iface->dns; dns_cnt = iface->dns_cnt; @@ -688,7 +688,7 @@ static int send_router_advert(struct interface *iface, const struct in6_addr *fr memcpy(dns->addr, dns_addr, sizeof(struct in6_addr)*dns_cnt); } - /* DNS Search options */ + /* DNS Search options aka DNSSL Type 31; RFC8106 */ if (!search_domain && !res_init() && _res.dnsrch[0] && _res.dnsrch[0][0]) { int len = dn_comp(_res.dnsrch[0], search_buf, sizeof(search_buf), NULL, NULL);