Revision 9bca2575
Added by Ermal Luçi about 17 years ago
etc/inc/services.inc | ||
---|---|---|
496 | 496 |
if (!isset($dyndns['enable'])) |
497 | 497 |
continue; |
498 | 498 |
/* determine interface name */ |
499 |
if ($dyndns['interface'] == "wan") |
|
500 |
$if = get_real_wan_interface(); |
|
501 |
else |
|
502 |
$if = convert_friendly_interface_to_real_interface_name($dyndns['interface']); |
|
499 |
$if = get_real_wan_interface($dyndns['interface']); |
|
503 | 500 |
|
504 | 501 |
if ($g['booting']) { |
505 | 502 |
echo "Starting DynDNS clients..."; |
... | ... | |
530 | 527 |
$dnsUser = $dyndns['username'], |
531 | 528 |
$dnsPass = $dyndns['password'], |
532 | 529 |
$dnsWilcard = $dyndns['wildcard'], |
533 |
$dnsMX = $dyndns['mx'], $dnsIf = $if);
|
|
530 |
$dnsMX = $dyndns['mx'], $dnsIf = "{$if}");
|
|
534 | 531 |
|
535 | 532 |
} |
536 | 533 |
|
Also available in: Unified diff
Make dyndns work correctly there was a problem in parameters order passed to the class.