mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
rc: moderate spacing
This commit is contained in:
parent
aaa15968f9
commit
100b1b46b9
@ -143,7 +143,7 @@ if ($count > 1) {
|
||||
echo "{$x} - {$ifdescr} ({$config_descr})\n";
|
||||
$x++;
|
||||
}
|
||||
echo "\nEnter the number of the interface you wish to configure: ";
|
||||
echo "\nEnter the number of the interface to configure: ";
|
||||
$intnum = chop(fgets($fp));
|
||||
} else {
|
||||
$intnum = $count;
|
||||
@ -170,6 +170,8 @@ if (!$interface) {
|
||||
exit;
|
||||
}
|
||||
|
||||
echo "\n";
|
||||
|
||||
$ifaceassigned = "";
|
||||
|
||||
function next_unused_gateway_name($interface)
|
||||
@ -480,13 +482,13 @@ if ($restart_webgui) {
|
||||
|
||||
if ($intip != '') {
|
||||
if (is_ipaddr($intip)) {
|
||||
echo "\n\n" . sprintf(
|
||||
echo sprintf(
|
||||
'The IPv4 %s address has been set to %s',
|
||||
$upperifname,
|
||||
"{$intip}/{$intbits}"
|
||||
) . "\n";
|
||||
} else {
|
||||
echo "\n\n" . sprintf(
|
||||
echo sprintf(
|
||||
'The IPv4 %s address has been set to %s',
|
||||
$upperifname,
|
||||
$intip
|
||||
@ -495,13 +497,13 @@ if ($intip != '') {
|
||||
}
|
||||
if ($intip6 != '') {
|
||||
if (is_ipaddr($intip6)) {
|
||||
echo "\n\n" . sprintf(
|
||||
echo sprintf(
|
||||
'The IPv6 %s address has been set to %s',
|
||||
$upperifname,
|
||||
"${intip6}/${intbits6}"
|
||||
) . "\n";
|
||||
} else {
|
||||
echo "\n\n" . sprintf(
|
||||
echo sprintf(
|
||||
'The IPv6 %s address has been set to %s',
|
||||
$upperifname,
|
||||
$intip6
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user