From 0ee7d80ca4914763179f6cba7e5a758a2deeb012 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Fri, 13 May 2011 13:37:09 -0700 Subject: [PATCH] Fix columns when port is unknown https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3301613&group_id=17457 --- xinetd/index.cgi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xinetd/index.cgi b/xinetd/index.cgi index 95ad09437..7fe9dafe3 100755 --- a/xinetd/index.cgi +++ b/xinetd/index.cgi @@ -77,7 +77,6 @@ foreach $x (@conf) { } } local @cols; - local @mytds = @tds; push(@cols, "". &html_escape($x->{'value'}).""); push(@cols, &indexof('RPC', @{$q->{'type'}}) < 0 ? @@ -88,8 +87,7 @@ foreach $x (@conf) { push(@cols, &html_escape(uc($s[3]))); } else { - push(@cols, "$text{'index_noport'}"); - push(@mytds, "", "", "colspan=2"); + push(@cols, "$text{'index_noport'}", ""); } push(@cols, $q->{'user'} ? &html_escape($q->{'user'}->[0]) : ""); push(@cols, &indexof('INTERNAL', @{$q->{'type'}}) >= 0 ?