summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2009-04-16 17:59:08 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2009-04-16 17:59:08 +0000
commita89ad1fc580e7dc4c3c6662d9dc68a9821a0cc7b (patch)
treea232feeb030b768ec6143de67fa1834d5599b891 /usr.sbin
parenteb19b1ddc6c6e6252aa90c26b14a0098d40b9f8e (diff)
Update kernel forwarding informations when a neighbor reports we are
its nexthop to a particular multicast source. ok claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/dvmrpd/rde_srt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/dvmrpd/rde_srt.c b/usr.sbin/dvmrpd/rde_srt.c
index a752dd6383d..05127b336e1 100644
--- a/usr.sbin/dvmrpd/rde_srt.c
+++ b/usr.sbin/dvmrpd/rde_srt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_srt.c,v 1.20 2009/04/11 09:36:35 michele Exp $ */
+/* $OpenBSD: rde_srt.c,v 1.21 2009/04/16 17:59:07 michele Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -518,6 +518,8 @@ srt_add_ds(struct rt_node *rn, u_int32_t nbr_report, u_int32_t ifindex)
LIST_INSERT_HEAD(&rn->ds_list, ds_nbr, entry);
rn->ds_cnt[ifindex]++;
rn->ttls[ifindex] = 1;
+
+ mfc_update_source(rn);
}
struct ds_nbr *