213 |
$ip = $new_ip; |
$ip = $new_ip; |
214 |
} |
} |
215 |
|
|
216 |
if ( $ip ne $server::ip ) { |
my $ip_short = (split(/\./, $ip, 4))[3]; |
217 |
|
|
218 |
|
# if ( $ip ne $server::ip ) -- not flexible enough for tunnel endpoints |
219 |
|
if ( $ip_short >= $server::ip_from && $ip_short <= $server::ip_to ) { |
220 |
my $hostname = client::conf( $ip, 'hostname' => $param->{hostname} ); |
my $hostname = client::conf( $ip, 'hostname' => $param->{hostname} ); |
221 |
|
|
222 |
my @table = ( |
my @table = ( |
243 |
; |
; |
244 |
|
|
245 |
if ( my $amt = client::conf( $ip, 'amt' ) ) { |
if ( my $amt = client::conf( $ip, 'amt' ) ) { |
246 |
print $client qq|<h2>AMT</h2>|, amt::info( $amt ); |
print $client qq|<h2>AMT</h2>|, amt::info( $amt, $ip ); |
247 |
} |
} |
248 |
} else { |
} else { |
249 |
|
|