65 |
+ my $Extinterface = $ddclient{'Extinterface'}|| $ExternalInterface{'Name'}|| ''; |
+ my $Extinterface = $ddclient{'Extinterface'}|| $ExternalInterface{'Name'}|| ''; |
66 |
+ my $cmd = $ddclient{'cmd'} || '/sbin/e-smith/db configuration getprop ExternalInterface IPAddress'; |
+ my $cmd = $ddclient{'cmd'} || '/sbin/e-smith/db configuration getprop ExternalInterface IPAddress'; |
67 |
+ my $ForceIP = $ddclient{'ForceIP'} || $ExternalInterface{'IPAddress'} || $ExternalIP || ''; |
+ my $ForceIP = $ddclient{'ForceIP'} || $ExternalInterface{'IPAddress'} || $ExternalIP || ''; |
68 |
+ |
+ $OUT .= "\n"; |
69 |
+ if ( $method eq 'smeIF' ) { |
+ if ( $method eq 'smeIF' ) { |
70 |
+ # we use SME db to get the external interface NAME : ppp0, eth1, tap0... |
+ # we use SME db to get the external interface NAME : ppp0, eth1, tap0... |
71 |
+ $Extinterface = $ExternalInterface{'Name'} ||$Extinterface; |
+ $Extinterface = $ExternalInterface{'Name'} ||$Extinterface; |