From fd7401ab44d894d1634d07e864e1ee43e8b577ee Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 11 May 2026 13:21:50 +0200 Subject: [PATCH] interfaces: move this inside the actual block Nothing to sort in the else case. --- src/etc/inc/interfaces.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index 1bea946016..1f2558d283 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -3019,9 +3019,9 @@ function DHCP6_Config_File_Basic($interface, $wancfg, $wanif, $default_id) /* for backwards compatibility always emit a default PD request */ $assoc_pd[$default_id] = ''; } - } - ksort($assoc_pd, SORT_NUMERIC); + ksort($assoc_pd, SORT_NUMERIC); + } $dhcp6cconf .= "interface {$wanif} {\n";