The 'indent' tool is confused by some strange #ifdef structure
around HAVE_IPINFO in report.c. Cleaned up that structure
so 'indent' can be used successfully.
printf(" %s%s\n", fmt_ipinfo(ctl, addr2), name);
if (ctl->enablempls)
print_mpls(mplss);
- } else {
+ }
#else
int k;
if (mpls->labels && z == 1 && ctl->enablempls) {
printf(" | +-- [MPLS: Lbl %lu Exp %u S %u TTL %u]\n", mplss->label[k], mplss->exp[k], mplss->s[k], mplss->ttl[k]);
}
}
-#endif
-#ifdef HAVE_IPINFO
- }
#endif
}
}
if (is_printii(ctl)) {
if (mpls->labels && z == 1 && ctl->enablempls)
print_mpls(mpls);
- } else {
+ }
#else
if(mpls->labels && z == 1 && ctl->enablempls) {
int k;
printf(" | +-- [MPLS: Lbl %lu Exp %u S %u TTL %u]\n", mpls->label[k], mpls->exp[k], mpls->s[k], mpls->ttl[k]);
}
}
-#endif
-#ifdef HAVE_IPINFO
- }
#endif
}
}