From patchwork Tue Apr 9 03:04:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Donald X-Patchwork-Id: 1921174 Return-Path: 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=gG4AD5fB; 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=NMj86uPM; 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 4VD9qZ1mD0z1yY8 for ; Tue, 9 Apr 2024 13:07:22 +1000 (AEST) 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=Dxz2dlS3BsWrfdAyUQl4V5dM/BImfVBVYAoyR+/Y5mo=; b=gG4AD5fBZnkCYg QRr96VgGPWnRlc1LSjp5zwc/fCKR5r29nul1MTMPeUwb8SpNFsxxIJkfZnxv6ITLd0ZbuY36Gq8pI Pnd4YR1yhXc05hv3UQq5DlDGjZADxrtKSDhlBUqaIchTlMkuK39SHr27oqvUe/M0r1Gnv9SShy5b9 DY8zUTxd6UKJGyaIelHJzNRz3K4pOXNbVNKjf1DDDGXqudhkr77zgMOOPp6rgYtRDUJJzK1zceNY4 mfz8u+cMxxSNpU4ajZj/cxqcsgwGzPTJXczGE4J4zqQY5baETHhfI5j4SxQFaZvQJKrf6IztcFVhi 5UPtL19UryXziLyn9k4Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru1oP-000000002jS-0Jfa; Tue, 09 Apr 2024 03:06:17 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru1nx-000000002at-47o1 for openwrt-devel@lists.openwrt.org; Tue, 09 Apr 2024 03:05:52 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-516f2e0edb7so2367665e87.1 for ; Mon, 08 Apr 2024 20:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712631946; x=1713236746; 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=jv94x3p3qMXC+LbW6ocnoL6wkQ4t2wAdEIouruDV9Lc=; b=NMj86uPM1s60p9TFMBhgPvEqmM2SAKNr1yzE+Ssu5eOrs/YPVDxT2dNGD2cDE89wgx WWTn3a8qO0HE1pzKq9RVPqwrH3tAXRoQy17RqnbfYpdkZhvB1jczq/DkdiifwS0hkPYv A4+dFXyvj+fjGPb3kP5SzlYlwXyBfzazTvOs/2dCylBXOT9TNHmkrTFi1qgaeEIUyw9V 53o782919yzAAouRTsz5Oapg8XmlkOFOo2NU85IPj2w16s2z4C805PZDFGi8DoLg6Kp+ 6lBzWe3UQpFhtyXtMBG8hIi1/i9KQeaiI/FkqolHLETq1i5ZKoaMNWAvrIgLStnVHXMG gqAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712631946; x=1713236746; 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=jv94x3p3qMXC+LbW6ocnoL6wkQ4t2wAdEIouruDV9Lc=; b=Ougk3E0xMWwNZpkxu4jqsY/g4yVj/Ek/0yA0df9W4oStw+S3yrneCOZKEV16nOJAuV XTfGIVK8Habv8E+JM0LnyxL8dsRcfRZ3SwHvy/oQplLATbi5rQWEaiXMqok1n9+99fbk csKllSAa4ZPXOCTn4wOvufxjlrKtqDZv2WKvMlFBuKLHGJIxpdS3fXUMb/9TxCahvjbr Z1UyeR9FnC2GMVu3IuVVGOW94kF1dm1wcdpXYnfsgT9SdkN4E8Cxo1WrjYEu+YSsllbV lqOiro9UnnCEP3kCxcmCUjs1reUgmlBv5ZTjBI2bAHjk4KDubaV/R99MDungFzwlNntN YqHQ== X-Gm-Message-State: AOJu0YwvMHzXDqK7mAkokuOLweFCvKtGn1m+WOSmwFK6MUyC4KJEDoLE xiSEk3iaSB7yar5O+zvoO2gkARNHAo5Dod3rwfhU4AxzBesSQMdvVAyHBAwi X-Google-Smtp-Source: AGHT+IFVyArxDigDmyrhnFEA5yZUGqNtM+mo3LTQf/wfRMWZ7Mg8hnlGAXjOaDBqQrYTWCRWLoplxQ== X-Received: by 2002:a05:6512:47b:b0:515:d4bc:c64d with SMTP id x27-20020a056512047b00b00515d4bcc64dmr6236769lfd.68.1712631946203; Mon, 08 Apr 2024 20:05:46 -0700 (PDT) Received: from blackhol3 ([2001:9b0:40::cae3:cb03]) by smtp.gmail.com with ESMTPSA id d9-20020ac25ec9000000b00516b0051e6esm1399491lfq.231.2024.04.08.20.05.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 20:05:45 -0700 (PDT) From: Paul Donald To: OpenWrt Development List Subject: [PATCH v3 8/9] router: disambiguate and clarify 'no route' messages Date: Tue, 9 Apr 2024 05:04:09 +0200 Message-ID: <20240409030540.77576-9-newtwen+github@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240409030540.77576-1-newtwen+github@gmail.com> References: <20240405005510.19778-1-newtwen+github@gmail.com> <20240409030540.77576-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-20240408_200550_165976_6E82B3E2 X-CRM114-Status: GOOD ( 10.94 ) 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 2a59530..365aaa8 100644 --- a/src/router.c +++ b/src/router.c @@ -656,9 +656,9 @@ 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 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:136 listed in] [list.dnswl.org] -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_SIGNED Message has a DKIM or DK signature, not necessarily valid -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_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [newtwen+github(at)gmail.com] X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org 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 2a59530..365aaa8 100644 --- a/src/router.c +++ b/src/router.c @@ -656,9 +656,9 @@ static int send_router_advert(struct interface *iface, const struct in6_addr *fr if (default_route) { syslog(LOG_WARNING, "A default route is present but there is no public prefix " - "on %s thus we don't announce a default route by overriding ra_lifetime!", iface->name); + "on %s thus we announce no default route by overriding ra_lifetime to 0!", iface->name); } else { - syslog(LOG_WARNING, "No default route present, overriding ra_lifetime!"); + syslog(LOG_WARNING, "No default route present, overriding ra_lifetime to 0!"); } }