From c21358142eb0fcc8b47e08199b363962ebe4bc79 Mon Sep 17 00:00:00 2001 From: bergware Date: Fri, 14 Feb 2025 18:31:11 +0100 Subject: [PATCH] fix typo --- emhttp/plugins/dynamix/scripts/netconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix/scripts/netconfig b/emhttp/plugins/dynamix/scripts/netconfig index 1f0879134..81d12d4ab 100755 --- a/emhttp/plugins/dynamix/scripts/netconfig +++ b/emhttp/plugins/dynamix/scripts/netconfig @@ -26,7 +26,7 @@ $cfg = '/boot/config/network.cfg'; function port($x) { $sys = "/sys/class/net"; - return file_exists("$sys/br{$x}") ? "br${x}" : (file_exists("$sys/bond{$x}") ? "bond{$x}" : "eth{$x}"); + return file_exists("$sys/br{$x}") ? "br{$x}" : (file_exists("$sys/bond{$x}") ? "bond{$x}" : "eth{$x}"); } function update_wireguard($ifname) {