From: Katerina Kubecova Date: Tue, 22 Apr 2025 08:41:06 +0000 (+0200) Subject: linux/netlink: Try to fix BSD make X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d07146ce80031164ff0ac201dcfa0cde455989;p=thirdparty%2Fbird.git 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. --- 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;