X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=html%2Fcgi-bin%2Findex.cgi;h=9aa77d6ef0b6486f4abdf425310ae8baa0e4c70e;hp=1d374f4a6b7d618d5ad21bad7dc506362925d64d;hb=78331e301975a38f952ad9311a7ff3201e5a5e2e;hpb=548f60a5bf6c5b8b6bf15471456cce8ce713a2b1 diff --git a/html/cgi-bin/index.cgi b/html/cgi-bin/index.cgi index 1d374f4a6b..9aa77d6ef0 100644 --- a/html/cgi-bin/index.cgi +++ b/html/cgi-bin/index.cgi @@ -88,7 +88,7 @@ if ( ( $pppsettings{'VALID'} eq 'yes'&& $modemsettings{'VALID'} eq 'yes' ) || close IPADDR; chomp ($fetch_ip); my $host_name = (gethostbyaddr(pack("C4", split(/\./, $fetch_ip)), 2))[0]; - print "
$Lang::tr{'ip address'} (internet): $fetch_ip
$Lang::tr{'ipcops hostname'} (internet): $host_name
"; + print "
$Lang::tr{'ip address'} (internet): $fetch_ip
$Lang::tr{'ipfires hostname'} (internet): $host_name
"; } } if (open(IPADDR,"${General::swroot}/red/local-ipaddress")) { @@ -97,7 +97,7 @@ if ( ( $pppsettings{'VALID'} eq 'yes'&& $modemsettings{'VALID'} eq 'yes' ) || chomp ($ipaddr); if ($ipaddr ne $fetch_ip){ #do not show info twice my $host_name = (gethostbyaddr(pack("C4", split(/\./, $ipaddr)), 2))[0]; - print "
$Lang::tr{'ip address'}: $ipaddr
$Lang::tr{'ipcops hostname'}: $host_name
"; + print "
$Lang::tr{'ip address'}: $ipaddr
$Lang::tr{'ipfires hostname'}: $host_name
"; } } }