summaryrefslogtreecommitdiff
path: root/httemplate/view/svc_hardware.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/svc_hardware.cgi')
-rw-r--r--httemplate/view/svc_hardware.cgi10
1 files changed, 1 insertions, 9 deletions
diff --git a/httemplate/view/svc_hardware.cgi b/httemplate/view/svc_hardware.cgi
index 725358cad..7f5e889d8 100644
--- a/httemplate/view/svc_hardware.cgi
+++ b/httemplate/view/svc_hardware.cgi
@@ -25,19 +25,11 @@ my $note = { field => 'note',
type => 'text',
value => sub { encode_entities($_[0]->note) }
};
-my $hw_addr ={ field => 'hw_addr',
- type => 'text',
- value => sub {
- my $hw_addr = $_[0]->hw_addr;
- $conf->exists('svc_hardware-check_mac_addr') ?
- join(':', $hw_addr =~ /../g) : $hw_addr
- },
- };
my @fields = (
$model,
'serial',
- $hw_addr,
+ 'display_hw_addr',
'ip_addr',
'smartcard',
$status,