From nobody Wed Aug 03 21:23:50 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LylGZ3fZCz4XpMS; Wed, 3 Aug 2022 21:23:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LylGZ34HSz3RqB; Wed, 3 Aug 2022 21:23:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659561830; 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; bh=NzVlzk8XtH6KqwdabDSXx2bz5KMDH4RRCNK0vLaGd/Q=; b=KLkcsKvAUja4DbB7kL51Mlu60W3dWdjnD6SZStUe4Y5x02rdCJMMNadf5SzOU9/OKxUvQE 1TYtzP2NEkNcWEiNeQiXScNJq7feWBtgSH0sZpYvHUsbc+OJsiFMMbo/GKufPg8RLmuLF0 BaEm/RCJUajBrJeiRWBPD8R0V9qARg4V6TRpyI3w1rXDIbnT8JDEEa7lStsviX7wxSzXQ8 BL8PdddGDYsdoOZxao+QOAskxgxPTvL9dPpxmIgdaPA8HIXRlLHE0U0kej39MVkIdjxzpG xDtJwXb2Y/aEO0SqAVfJ/cBlUco11n5nA1Kxy9bSYBCi/r8wY5Uxn1A2iXSgDA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LylGZ27vfz15RX; Wed, 3 Aug 2022 21:23:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 273LNoUq011406; Wed, 3 Aug 2022 21:23:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 273LNoIf011405; Wed, 3 Aug 2022 21:23:50 GMT (envelope-from git) Date: Wed, 3 Aug 2022 21:23:50 GMT Message-Id: <202208032123.273LNoIf011405@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 412bdb5a4630 - main - route: fix NOIP builds List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 412bdb5a4630eb74c8aa288e60693771c1e16310 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659561830; 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; bh=NzVlzk8XtH6KqwdabDSXx2bz5KMDH4RRCNK0vLaGd/Q=; b=iCwL5QpLFTMI1+egPkS/CbtjG+2TfsOnrkJnoaYktmYXHr1HITA30X63av/olNOdc219rD ni3lHKoDWWCpRuJO6KHY7pLJ1bEBIibMVqwMf7A5dlCCMrKqKIPVHYaa0rrdB3YXVltv+3 gL2SqRxmYWqB8Bql/VuV5Rg0Rf86IhIwiOa+NOLJjcQBYzzkgl6TzWvYl5iydDKS5hToCV 7QidDKzf7inxmiMNQUgCSOhdQGf6WPineQFWoGJW8Oxsgg1qIWeVIsCh4/u2nAHnvxQ7xh LpdyblQFOcSf4bOS8TAVt3bbwwPxb5BroIQY55yaMUSJ85OllLwm62kafdoCTA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659561830; a=rsa-sha256; cv=none; b=gTNIy80QKpqPNHyX9D/nshYRUKDzfSr3cBE5bLJU/ynaZ8M2w1BIM2f+1EnZmj+b+8T8v6 28fFIuRRkHeWj2aeG9N73EZHFRBDXqN+IXfgrxvjN7onPq9tB5XrErK0JYMuOGsbiF6M1L rVSM3MlaK2PxpchDzRVsUgw//b9ObNj85Y8cIXr8VvHCCwHQEF2lrzNAI1W0cdSibRDRcu LJlQZCiLJedUzoDyGEP3XLvmC2k3H/r6b75Pfxk9UM7ITZRtSgmwBvBsuaojt5Io09nVd6 Z2nTNq+I0x1pmOiWgJQT+NVj55GvXpfKX+zcW3xNUZ1dc9TmSFbb25hEdvIo7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=412bdb5a4630eb74c8aa288e60693771c1e16310 commit 412bdb5a4630eb74c8aa288e60693771c1e16310 Author: Mateusz Guzik AuthorDate: 2022-08-03 21:23:32 +0000 Commit: Mateusz Guzik CommitDate: 2022-08-03 21:23:32 +0000 route: fix NOIP builds Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/net/route/route_helpers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/net/route/route_helpers.c b/sys/net/route/route_helpers.c index 5472465d4f5f..13cd4e657e88 100644 --- a/sys/net/route/route_helpers.c +++ b/sys/net/route/route_helpers.c @@ -571,9 +571,11 @@ rt_get_inet6_parent(uint32_t fibnum, const struct in6_addr *paddr, int plen) char * rt_print_buf(const struct rtentry *rt, char *buf, size_t bufsize) { +#if defined(INET) || defined(INET6) char abuf[INET6_ADDRSTRLEN]; uint32_t scopeid; int plen; +#endif switch (rt_get_family(rt)) { #ifdef INET