git: f6e13d099e09 - stable/13 - route: fix NOIP builds
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jan 2023 21:24:58 UTC
The branch stable/13 has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=f6e13d099e09086aeedb1b14ce574b5143a2342f commit f6e13d099e09086aeedb1b14ce574b5143a2342f Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2022-08-03 21:23:32 +0000 Commit: Alexander V. Chernikov <melifaro@FreeBSD.org> 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