diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-02-07 01:50:29 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-02-07 01:50:29 +0000 |
commit | 25573bd5607c857dc9d0d49734066a34b3045df3 (patch) | |
tree | 9d8e86b939e4120ef13cdfa2742c0c58695f24b3 /usr.sbin/bgpd/kroute.c | |
parent | e9e119fc8d774accc439a365d7aa9c87c55dc271 (diff) |
when connected routes show up at runtime we have to set ifindex in struct kif
Diffstat (limited to 'usr.sbin/bgpd/kroute.c')
-rw-r--r-- | usr.sbin/bgpd/kroute.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index 46619e1eed5..51476b25c95 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.85 2004/02/07 01:41:52 henning Exp $ */ +/* $OpenBSD: kroute.c,v 1.86 2004/02/07 01:50:28 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -1221,6 +1221,7 @@ dispatch_rtmsg(void) kr->r.prefixlen = prefixlen; kr->r.nexthop.s_addr = nexthop.s_addr; kr->r.flags = flags; + kr->r.ifindex = ifindex; kroute_insert(kr); } |