]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - html/cgi-bin/index.cgi
Merge remote-tracking branch 'alfh/feature_html_validating' into next
[people/teissler/ipfire-2.x.git] / html / cgi-bin / index.cgi
index f22964b0202275d74d1d7c3dcb87edd3d5fe5023..c5ccae809e88bd9dc4a1c204621b4593c38ad449 100644 (file)
@@ -158,6 +158,11 @@ if ( ( $pppsettings{'VALID'} eq 'yes' && $modemsettings{'VALID'} eq 'yes' ) || (
            close IPADDR;
            chomp ($ipaddr);
        }
+       if (open(IPADDR,"${General::swroot}/red/local-ipaddress")) {
+           $ipaddr = <IPADDR>;
+           close IPADDR;
+           chomp ($ipaddr);
+       }
 } elsif ($modemsettings{'VALID'} eq 'no') {
        print "$Lang::tr{'modem settings have errors'}\n </b></font>\n";
 } else {