Changeset 180
- Timestamp:
- Aug 25, 2016, 2:03:11 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r179 r180 1878 1878 LOOP_ON_IP_ADDRESS: 1879 1879 for my $ip (Net::Netmask::sort_by_ip_address(keys %result_ip)) { 1880 printf "%-15s %-40s %-16s %s\n", $ip, $result_ip{$ip}->{hostname_fq}, $result_ip{$ip}->{date_last_detection}, $result_ip{$ip}->{vlan}; 1880 my $vlan_nameid = $result_ip{$ip}->{vlan}.'('.get_current_vlan_id($result_ip{$ip}->{vlan}).')'; 1881 printf "%-15s %-40s %-16s %s\n", $ip, $result_ip{$ip}->{hostname_fq}, $result_ip{$ip}->{date_last_detection}, $vlan_nameid; 1881 1882 } 1882 1883 } … … 1917 1918 my ( $host_short ) = split m/ \. /xms, $result_ip{$ip}->{hostname_fq}; 1918 1919 1920 my $vlan_nameid = $result_ip{$ip}->{vlan}.'('.get_current_vlan_id($result_ip{$ip}->{vlan}).')'; 1921 1919 1922 print <<"END_HTML"; 1920 1923 <tr class="$typerow"> 1921 1924 <td sorttable_customkey="$ip_sort">$ip</td> 1922 1925 <td sorttable_customkey="$host_short">$result_ip{$ip}->{hostname_fq}</td> 1923 <td>$ result_ip{$ip}->{vlan}</td>1926 <td>$vlan_nameid</td> 1924 1927 <td>$result_ip{$ip}->{date_last_detection}</td> 1925 1928 </tr>
Note: See TracChangeset
for help on using the changeset viewer.