Date: Tue, 1 Dec 2015 05:59:53 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291565 - head/sys/net Message-ID: <201512010559.tB15xrrx020664@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Tue Dec 1 05:59:53 2015 New Revision: 291565 URL: https://svnweb.freebsd.org/changeset/base/291565 Log: Fix LINT-NOIP kernels after r291467 rn is only used if INET or INET6 are defined Sponsored by: EMC / Isilon Storage Division Modified: head/sys/net/route.c Modified: head/sys/net/route.c ============================================================================== --- head/sys/net/route.c Tue Dec 1 05:29:30 2015 (r291564) +++ head/sys/net/route.c Tue Dec 1 05:59:53 2015 (r291565) @@ -1369,7 +1369,9 @@ rt_mpath_unlink(struct radix_node_head * static struct rtentry * rt_flowtable_check_route(struct radix_node_head *rnh, struct rt_addrinfo *info) { +#if defined(INET6) || defined(INET) struct radix_node *rn; +#endif struct rtentry *rt0; rt0 = NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512010559.tB15xrrx020664>