show configuration using clinet::all_conf
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 27 Aug 2009 14:31:15 +0000 (14:31 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 27 Aug 2009 14:31:15 +0000 (14:31 +0000)
lib/PXElator/httpd.pm

index 3723292..fa7dc63 100644 (file)
@@ -262,7 +262,7 @@ warn "XXX pids = ", dump( $daemons::pids );
                        print $client ok
                                , qq|<h2>Clients on $server::ip</h2>|
                                , html::table( -5,
-                                       'ip', 'mac', 'hostname', 'deploy', 'arp',
+                                       'ip', 'mac', 'hostname', 'conf', 'arp',
                                        map {
                                                my $ip = $_;
                                                my $mac = client::mac_from_ip $ip;
@@ -273,7 +273,7 @@ warn "XXX pids = ", dump( $daemons::pids );
                                                        qq|<a href=/client/$ip>$ip</a>|
                                                        , format::mac( $mac => 'html' )
                                                        , client::conf( $ip, 'hostname' )
-                                                       , html::tt( client::conf( $ip, 'deploy' ) )
+                                                       , html::pre_dump( client::all_conf( $ip ) )
                                                        , $arp
                                                );
                                        }