]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Netlink: Fix fix BSD error
authorMaria Matejka <mq@ucw.cz>
Tue, 6 May 2025 16:30:39 +0000 (18:30 +0200)
committerMaria Matejka <mq@ucw.cz>
Tue, 6 May 2025 16:30:39 +0000 (18:30 +0200)
There was a typo in the previous commit, -> instead of .

sysdep/linux/netlink.c

index e6fb06581c17d7c3e46ced17fcea5f87d5938377..9042a56f0c3bb28d1b651b074d1dc525a2171e87 100644 (file)
@@ -1870,8 +1870,8 @@ nl_parse_route(struct nl_parse_state *s, struct nlmsghdr *h)
            return;
 
 #ifdef CONFIG_ASSUME_ONLINK
-         if (krt_assume_onlink(nhad->nh.iface, ipa_is_ip6(nhad->nh.gw)))
-           nhad->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;