diff options
author | Esben Norby <norby@cvs.openbsd.org> | 2006-06-01 18:18:26 +0000 |
---|---|---|
committer | Esben Norby <norby@cvs.openbsd.org> | 2006-06-01 18:18:26 +0000 |
commit | 037b84a240f6ab84d7fe79649d7e98565599fa54 (patch) | |
tree | 2c4dd71a04f4e00a5ccae8c7faabe32a4e4eb825 /usr.sbin/dvmrpd/interface.c | |
parent | 43fa570b5bc2c2c902ac0b4d5d93c6544759b189 (diff) |
implement adjacent nbr count, needed when we want to decide where to flood
multicast streams.
Diffstat (limited to 'usr.sbin/dvmrpd/interface.c')
-rw-r--r-- | usr.sbin/dvmrpd/interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/dvmrpd/interface.c b/usr.sbin/dvmrpd/interface.c index 1f37aedb139..e29aa15d1d7 100644 --- a/usr.sbin/dvmrpd/interface.c +++ b/usr.sbin/dvmrpd/interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: interface.c,v 1.1 2006/06/01 14:12:20 norby Exp $ */ +/* $OpenBSD: interface.c,v 1.2 2006/06/01 18:18:25 norby Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -629,8 +629,8 @@ if_to_ctl(struct iface *iface) ictl.ifindex = iface->ifindex; ictl.state = iface->state; ictl.mtu = iface->mtu; - ictl.nbr_cnt = 0; /* XXX */ - ictl.adj_cnt = 0; /* XXX */ + ictl.nbr_cnt = iface->nbr_cnt; + ictl.adj_cnt = iface->adj_cnt; ictl.gen_id = iface->gen_id; ictl.group_cnt = iface->group_cnt; |