From e07fe9f43ac579e0ba03fd16b570b246ce52f553 Mon Sep 17 00:00:00 2001 From: Jordan Date: Sun, 16 Jul 2023 19:22:08 -0700 Subject: templates: bgp.he.net -> bgp.tools higher update frequency, per-prefix announcement information --- allium/templates/misc-networks.html | 2 +- allium/templates/relay-info.html | 2 +- allium/templates/relay-list.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/allium/templates/misc-networks.html b/allium/templates/misc-networks.html index b68aab0..77c3942 100644 --- a/allium/templates/misc-networks.html +++ b/allium/templates/misc-networks.html @@ -57,7 +57,7 @@ {% if v['as_name'] -%} - {{ v['as_name']|truncate(20)|escape }} + {{ v['as_name']|truncate(20)|escape }} {% else -%} Unknown diff --git a/allium/templates/relay-info.html b/allium/templates/relay-info.html index ee726e1..c494a53 100644 --- a/allium/templates/relay-info.html +++ b/allium/templates/relay-info.html @@ -215,7 +215,7 @@ relay['unverified_host_names']|join('\n')|escape }}
{% if relay['as_name'] -%} - {{ relay['as_name']|escape }} (BGP) + {{ relay['as_name']|escape }} (BGP) {% else -%} unknown {% endif -%} diff --git a/allium/templates/relay-list.html b/allium/templates/relay-list.html index 658d608..6c25cef 100644 --- a/allium/templates/relay-list.html +++ b/allium/templates/relay-list.html @@ -81,7 +81,7 @@ {% endif -%} {{ obs_bandwidth }} - {{ + {{ relay['or_addresses'][0].split(':', 1)[0]|escape }} {% if relay['as'] -%} @@ -98,7 +98,7 @@ {% endif -%} {% if relay['as_name'] -%} - {{ relay['as_name']|escape|truncate(length=20) }} -- cgit v1.2.3-54-g00ecf