From c0ab61fe0fd6488dc13bc3a01443f7d676c9df80 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sun, 12 Feb 2012 19:55:35 +0000 Subject: [PATCH] dns retrieval efficiency --- Netdisco/views/ajax/device/ports.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netdisco/views/ajax/device/ports.tt b/Netdisco/views/ajax/device/ports.tt index 31b92b56..f130fae6 100644 --- a/Netdisco/views/ajax/device/ports.tt +++ b/Netdisco/views/ajax/device/ports.tt @@ -104,7 +104,7 @@
  [% 'a  ' IF NOT ip.active %] [% SET dns = ip.dns %] [% IF dns %] - [% ip.dns %] ([% ip.ip %]) + [% dns %] ([% ip.ip %]) [% ELSE %] [% ip.ip %] [% END %]