From 236a3a7e7fa9ec9cab48b1b8c44d58f43ac01515 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 22 May 2023 13:13:30 +0200 Subject: [PATCH] interfaces: the presentation of values and extraction isn't ideal as all overlaps Simplify for now and revisit this later in MVC. --- src/www/status_interfaces.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/www/status_interfaces.php b/src/www/status_interfaces.php index 4732fe718..16254afe9 100644 --- a/src/www/status_interfaces.php +++ b/src/www/status_interfaces.php @@ -233,12 +233,11 @@ include("head.inc"); + if (!empty($ifinfo['ipaddr']) /* set by get_interfaces_info() if active but not directly used */):?> - /
@@ -260,7 +259,8 @@ include("head.inc"); + if (!empty($ifinfo['ipaddrv6']) /* set by get_interfaces_info() if active but not directly used */ && + !empty($ifinfo['ipv6'][0]) && !$ifinfo['ipv6'][0]['link-local']): ?>