From: Andrew Ruthven Date: Thu, 16 Sep 2010 09:04:39 +0000 (+1200) Subject: Add a bounds check on the protocol_version. X-Git-Tag: 0.9.5~4 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c485713d887bd152e9fc2d24cf648dde1ef546c;p=mythtv-status.git Add a bounds check on the protocol_version. --- diff --git a/bin/mythtv-status b/bin/mythtv-status index ba686b3..b706654 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -217,7 +217,7 @@ my @blocks = ( 'name' => 'Encoders', 'type' => 'xpath', 'xpath' => "//Status/Encoders/Encoder", - 'protocol_version' => [ ">= 44" ], + 'protocol_version' => [ ">= 44", "< 58" ], 'attrs' => [ qw/hostname id state connected/ ], 'template' => "__hostname__ (__id__) - __state____connected__", 'rewrite' => {