artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ec75fb
)
Change argument of ktable_get from ifd->ifi_rdomain to kif->k.rdomain.
author
claudio
<claudio@openbsd.org>
Thu, 9 Jun 2022 16:53:14 +0000
(16:53 +0000)
committer
claudio
<claudio@openbsd.org>
Thu, 9 Jun 2022 16:53:14 +0000
(16:53 +0000)
It is the same value but using the kif seems better.
usr.sbin/bgpd/kroute.c
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpd/kroute.c
b/usr.sbin/bgpd/kroute.c
index
18e587f
..
7d379da
100644
(file)
--- a/
usr.sbin/bgpd/kroute.c
+++ b/
usr.sbin/bgpd/kroute.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kroute.c,v 1.25
2 2022/06/09 16:45:19
claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.25
3 2022/06/09 16:53:14
claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@
-2794,7
+2794,7
@@
if_change(u_short ifindex, int flags, struct if_data *ifd)
kif->k.nh_reachable = reachable;
- kt = ktable_get(
ifd->ifi_
rdomain);
+ kt = ktable_get(
kif->k.
rdomain);
LIST_FOREACH(kkr, &kif->kroute_l, entry) {
if (reachable)