|
@@ -808,7 +808,7 @@ function updateBadges() {
|
|
|
const bBgp = document.getElementById('badge-bgp-count');
|
|
const bBgp = document.getElementById('badge-bgp-count');
|
|
|
if (bBgp) bBgp.innerText = (state.bgpPeers || []).length;
|
|
if (bBgp) bBgp.innerText = (state.bgpPeers || []).length;
|
|
|
const bOspf = document.getElementById('badge-ospf-count');
|
|
const bOspf = document.getElementById('badge-ospf-count');
|
|
|
- if (bOspf) bOspf.innerText = (state.ospfInterfaces || []).length;
|
|
|
|
|
|
|
+ if (bOspf) bOspf.innerText = (state.ospfLiveInterfaces || state.ospfTemplates || []).length;
|
|
|
const bRip = document.getElementById('badge-rip-count');
|
|
const bRip = document.getElementById('badge-rip-count');
|
|
|
if (bRip) bRip.innerText = (state.ripInterfaces || []).length;
|
|
if (bRip) bRip.innerText = (state.ripInterfaces || []).length;
|
|
|
const bBfd = document.getElementById('badge-bfd-count');
|
|
const bBfd = document.getElementById('badge-bfd-count');
|