summaryrefslogtreecommitdiff
path: root/sysdep/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/krt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c
index cb0f1d4f..9f95247f 100644
--- a/sysdep/unix/krt.c
+++ b/sysdep/unix/krt.c
@@ -937,7 +937,7 @@ krt_rt_notify(struct proto *P, struct channel *ch UNUSED, net *net,
* kernel, which would remove the new imported route instead.
*/
rte *best = net->routes;
- if (!new && best && (best->attrs->src->proto == P))
+ if (!new && best && (best->src->proto == P))
return;
#endif