From nobody Fri Jan 13 21:24:58 2023 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 4NtvZg0smPz2qklW; Fri, 13 Jan 2023 21:24:59 +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 4NtvZg082kz41PQ; Fri, 13 Jan 2023 21:24:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673645099; 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=d/fHxRHHSmT5y+A66+gy4mlWwvX5p7GPJj+TQY0GqW8=; b=dwFce30u3PP5i1c+s6s+fgFhrg9pB5Zkw5guJWBc+q2jWSSrHsvI4n6+KkCBc+1nzTW2bd AJd1X/tgLrgUhT+kr5/5EX2UjjhgWivn5KcUBQUnhVPS49ZwgL9XX9lvSral99EQ0ZeaJa 5NQ3HnD2xAlR+YMJmIUpQtSCyjTvwv5yxCoNJnBm6teG7Mj/MIsXe7a2ELlsj8bG5rYpq4 ZnI2VeKwDTDvi9YC+2QHj/NRI4B0SSdprs8NlWjRlymU1vDTQv1vfTJkAxxDz0ctBoNyMI FPNx917jLeIZ6bknKA9jhK2Sye3v/MWmzxWTjdarX3vrhKMs2LVLHKh4iotQlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673645099; 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=d/fHxRHHSmT5y+A66+gy4mlWwvX5p7GPJj+TQY0GqW8=; b=SOzt39O6bltGn2NWPyphtlPuXCMNyfMr/mIOjhPyCWkPvIuLI0YpqQc+gLidyUSHtxcvSK nTfbWmsIQYs/PnUTOb73negTze056HgW0taKRchsJUy6MV3H3AgIJ6qEb+9e+Aw1Qpl8ww o1lxFZIw7Z0AeY7b91qU9C7CKepETDZhg03juA1vkr1sbcyqDjqycwTHgQbkPuHct/+XyR Y/T5kl8Ubp86RCdqHsttCt7TVnWQk+ulHAq/4jB/g7Ni7ucfJCNXuAwGCZ2GOjbVjrdScw o381+msKFt4nAhc53XbqHaztZ5YNrb/p/PE9qOcNmf22WNOkjI2TEx9rGiBigQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673645099; a=rsa-sha256; cv=none; b=JE8HShhpUZnoflSVhfTgt3svHqxK6WkCWEnM4UJ65sjbBlh4aQvMaMkSnVwp4CNBeF5WR3 dE20J16noSGXhQu0DBN8t7r9hBGpS0ML/Kh/cTrRs6Zj0YPeo41rdotFbiP3F8zxed8Xrc nNfq4liaalTEyEpu64WvKlFgtvxXxBJc4ykg3m86qfv3LaIQ6jWetSQKQy7pWYZroYrbbs W2EBjWv7UtJGZpNGD4zNSXHR+WgpYtloalAg3pdo7EzqwBw/q8nD16bwQtMrEVAQv2FhFJ ex1Z5WF1htmcP+9jrX0dpxXOni3G7k5Rp2QLtDaJKgJUORcBn3C4owotExanfQ== 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 4NtvZf6FgZzNDD; Fri, 13 Jan 2023 21:24:58 +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 30DLOwHm041204; Fri, 13 Jan 2023 21:24:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30DLOw7X041203; Fri, 13 Jan 2023 21:24:58 GMT (envelope-from git) Date: Fri, 13 Jan 2023 21:24:58 GMT Message-Id: <202301132124.30DLOw7X041203@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: f6e13d099e09 - stable/13 - 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: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: f6e13d099e09086aeedb1b14ce574b5143a2342f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=f6e13d099e09086aeedb1b14ce574b5143a2342f commit f6e13d099e09086aeedb1b14ce574b5143a2342f Author: Mateusz Guzik AuthorDate: 2022-08-03 21:23:32 +0000 Commit: Alexander V. Chernikov CommitDate: 2023-01-13 21:18:26 +0000 route: fix NOIP builds Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 412bdb5a4630eb74c8aa288e60693771c1e16310) --- 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