Date: Fri, 2 Jun 2023 16:10:35 GMT From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 7811cca8722d - main - netlink: fix compilation withous INET6 Message-ID: <202306021610.352GAZgH051845@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=7811cca8722dbf91df4144be462ec220c690f294 commit 7811cca8722dbf91df4144be462ec220c690f294 Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2023-06-02 16:09:55 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2023-06-02 16:10:26 +0000 netlink: fix compilation withous INET6 Fixes: a77facd27368f618520d25391cfce11149879a41 --- sys/netlink/route/iface.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/netlink/route/iface.c b/sys/netlink/route/iface.c index 5e0295e7fe52..16bbe4d000cc 100644 --- a/sys/netlink/route/iface.c +++ b/sys/netlink/route/iface.c @@ -1277,9 +1277,7 @@ rtnl_handle_addr(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt) attrs.ifa_index); return (ENOENT); } -#ifdef INET6 int if_flags = if_getflags(ifp); -#endif #if defined(INET) || defined(INET6) bool new = hdr->nlmsg_type == NL_RTM_NEWADDR;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306021610.352GAZgH051845>