Changeset 3825

Show
Ignore:
Timestamp:
07/26/10 20:22:23 (2 years ago)
Author:
feiner.tom
Message:

Solve ticket #941, allow parsing of bind 9.6 instead of expecting 9.6.x. Thanks to Clemens Lang for the patch!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.4-stable/plugins/node.d/bind9_rndc.in

    r3021 r3825  
    6464if ( open VERSION, "$rndc 2>&1 |" ) { 
    6565    while ( my $line = <VERSION> ) { 
    66         if ( $line =~ m/^Version:\s+9\.(\d+)\./o ) { 
     66        if ( $line =~ m/^Version:\s+9\.(\d+)\D/o ) { 
    6767            $version96 = 1 if $1 >= 6; 
    6868        }