From 10d07146ce80031164ff0ac201dcfa0cde455989 Mon Sep 17 00:00:00 2001 From: Katerina Kubecova Date: Tue, 22 Apr 2025 10:41:06 +0200 Subject: [PATCH] linux/netlink: Try to fix BSD make I am not yet able to reproduce the error, but it seems like just bad variable usage, basically typo. --- sysdep/linux/netlink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c index b6d800681..e6fb06581 100644 --- a/sysdep/linux/netlink.c +++ b/sysdep/linux/netlink.c @@ -1870,8 +1870,8 @@ nl_parse_route(struct nl_parse_state *s, struct nlmsghdr *h) return; #ifdef CONFIG_ASSUME_ONLINK - if (krt_assume_onlink(ra->nh.iface, ipa_is_ip6(ra->nh.gw))) - ra->nh.flags |= RNF_ONLINK; + if (krt_assume_onlink(nhad->nh.iface, ipa_is_ip6(nhad->nh.gw))) + nhad->nh.flags |= RNF_ONLINK; #endif neighbor *nbr; -- 2.47.2