interfaces: move this inside the actual block

Nothing to sort in the else case.
This commit is contained in:
Franco Fichtner 2026-05-11 13:21:50 +02:00
parent 8edd6eef67
commit fd7401ab44

View file

@ -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";