Commit 1cf41f3f authored by Franco Fichtner's avatar Franco Fichtner

rc: proper sprintf

parent d2f61e75
......@@ -262,7 +262,7 @@ function console_configure_ip_address($version)
echo "\n";
} elseif ($interface != 'wan' && $version === 6 && !empty($config['interfaces']['wan']['ipaddrv6']) &&
$config['interfaces']['wan']['ipaddrv6'] == 'dhcp6') {
if (console_prompt_for_yn(sprintf('Configure %s address %s interface via WAN tracking?'), 'y')) {
if (console_prompt_for_yn(sprintf('Configure %s address %s interface via WAN tracking?', $label_IPvX, $upperifname), 'y')) {
$intip = 'track6';
$intbits = '64';
$isintdhcp = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment