/[smecontribs]/rpms/smeserver-ddclient/contribs9/smeserver-ddclient-1.2.1-bz9450-new-ip-detection.patch
ViewVC logotype

Diff of /rpms/smeserver-ddclient/contribs9/smeserver-ddclient-1.2.1-bz9450-new-ip-detection.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jpp, Sun Jan 20 05:42:51 2019 UTC Revision 1.3 by jpp, Mon Apr 8 02:40:06 2019 UTC
# Line 65  diff -Nur smeserver-ddclient-1.2.1.old/r Line 65  diff -Nur smeserver-ddclient-1.2.1.old/r
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;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed