From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bryk2014nz36VV for ; Tue, 29 Jul 2025 14:42:34 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bryjy33jVz2xXb for ; Tue, 29 Jul 2025 14:42:30 +0000 (UTC) Received: from michael.haj.ipfire.org (michael.haj.ipfire.org [172.28.1.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "michael.haj.ipfire.org", Issuer "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4bryjy0M85z2th; Tue, 29 Jul 2025 14:42:30 +0000 (UTC) Received: by michael.haj.ipfire.org (Postfix, from userid 0) id 4bryjx5ZCDzTgnB; Tue, 29 Jul 2025 14:42:29 +0000 (UTC) From: Michael Tremer To: development@lists.ipfire.org Cc: Michael Tremer Subject: [PATCH 5/6] network: Add support for some more auxiliary zones Date: Tue, 29 Jul 2025 14:42:19 +0000 Message-ID: <20250729144220.1332214-5-michael.tremer@ipfire.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250729144220.1332214-1-michael.tremer@ipfire.org> References: <20250729144220.1332214-1-michael.tremer@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Tremer --- config/udev/network-hotplug-master | 2 +- config/udev/network-hotplug-rename | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/udev/network-hotplug-master b/config/udev/network-hotplug-master index b61b657bb..34cec46a6 100644 --- a/config/udev/network-hotplug-master +++ b/config/udev/network-hotplug-master @@ -31,7 +31,7 @@ detect_zone() { intf="${intf^^}" local zone - for zone in GREEN BLUE ORANGE RED; do + for zone in GREEN BLUE ORANGE RED INTF0 INTF1 INTF2 INTF3; do # Try to find if INTERFACE is the *phys version of a zone if [ "${intf}" = "${zone}" ]; then echo "${zone}" diff --git a/config/udev/network-hotplug-rename b/config/udev/network-hotplug-rename index f27eecae6..b4e694ed3 100644 --- a/config/udev/network-hotplug-rename +++ b/config/udev/network-hotplug-rename @@ -57,7 +57,7 @@ fi eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings) # Standard zones -ZONES="RED GREEN ORANGE BLUE" +ZONES="RED GREEN ORANGE BLUE INTF0 INTF1 INTF2 INTF3" # Determine the address of INTERFACE ADDRESS="$(