]> 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>
Sat, 10 May 2025 14:56:27 +0000 (16:56 +0200)
There was a typo in the previous commit, -> instead of .

sysdep/linux/netlink.c

index 8e6eb60c3ee98f9784af016af0b80becfb28d5c6..33e625b19f268d4a881be37e583936f3fea5647d 100644 (file)
@@ -1864,8 +1864,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;