summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/rde_spf.c
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2005-03-14 18:21:30 +0000
committerEsben Norby <norby@cvs.openbsd.org>2005-03-14 18:21:30 +0000
commit5817c7b7eb097b0bff1d74c51e712d697b069db7 (patch)
treea308027642efa65517224a1be7696318c89bc0c1 /usr.sbin/ospfd/rde_spf.c
parentefcb58379e98814ab2ab67faeba5d6224722b141 (diff)
Add "show summary" to ospfctl.
ok claudio@ henning@
Diffstat (limited to 'usr.sbin/ospfd/rde_spf.c')
-rw-r--r--usr.sbin/ospfd/rde_spf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/rde_spf.c b/usr.sbin/ospfd/rde_spf.c
index 3e4b949e61c..f6f3c3a5678 100644
--- a/usr.sbin/ospfd/rde_spf.c
+++ b/usr.sbin/ospfd/rde_spf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_spf.c,v 1.5 2005/03/12 11:03:05 norby Exp $ */
+/* $OpenBSD: rde_spf.c,v 1.6 2005/03/14 18:21:29 norby Exp $ */
/*
* Copyright (c) 2005 Esben Norby <norby@openbsd.org>
@@ -243,7 +243,7 @@ spf_calc(struct area *area)
PT_INTRA_AREA, DT_NET);
}
- /* routers */
+ /* router */
addr.s_addr = htonl(v->ls_id);
adv_rtr.s_addr = htonl(v->adv_rtr);
@@ -299,6 +299,7 @@ spf_calc(struct area *area)
log_debug("spf_calc: calculation ended, area ID %s",
inet_ntoa(area->id));
+ area->num_spf_calc++;
start_spf_timer(rdeconf);
return;