forked from Mirror/frr
ospf6d: fix indentation in show ipv6 ospf area
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
This commit is contained in:
parent
e48b2fea63
commit
fb5a450fe7
|
@ -511,11 +511,13 @@ void ospf6_area_show(struct vty *vty, struct ospf6_area *oa,
|
||||||
if (oa->ts_spf.tv_sec || oa->ts_spf.tv_usec) {
|
if (oa->ts_spf.tv_sec || oa->ts_spf.tv_usec) {
|
||||||
result = monotime_since(&oa->ts_spf, NULL);
|
result = monotime_since(&oa->ts_spf, NULL);
|
||||||
if (result / TIMER_SECOND_MICRO > 0) {
|
if (result / TIMER_SECOND_MICRO > 0) {
|
||||||
vty_out(vty, "SPF last executed %ld.%lds ago\n",
|
vty_out(vty,
|
||||||
|
" SPF last executed %ld.%lds ago\n",
|
||||||
result / TIMER_SECOND_MICRO,
|
result / TIMER_SECOND_MICRO,
|
||||||
result % TIMER_SECOND_MICRO);
|
result % TIMER_SECOND_MICRO);
|
||||||
} else {
|
} else {
|
||||||
vty_out(vty, "SPF last executed %ldus ago\n",
|
vty_out(vty,
|
||||||
|
" SPF last executed %ldus ago\n",
|
||||||
result);
|
result);
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in a new issue