Commit 0d9e0ba6 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: strtolower() according to manual

parent c909149e
......@@ -1582,7 +1582,7 @@ EOD;
$provider = isset($ppp['provider']) ? $ppp['provider'] : "";
$hostuniq = '';
if (!empty($ppp['hostuniq'])) {
$hostuniq = '0x' . array_shift(unpack('H*', $ppp['hostuniq'])) . '|';
$hostuniq = '0x' . strtolower(array_shift(unpack('H*', $ppp['hostuniq']))) . '|';
}
$mpdconf_arr[] = "set pppoe service \"{$hostuniq}{$provider}\"";
$mpdconf_arr[] = "set pppoe iface {$port}";
......
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