diff --git a/xCAT-server/lib/xcat/plugins/ddns.pm b/xCAT-server/lib/xcat/plugins/ddns.pm index 7f000d0f6..6c1c9f866 100644 --- a/xCAT-server/lib/xcat/plugins/ddns.pm +++ b/xCAT-server/lib/xcat/plugins/ddns.pm @@ -305,7 +305,7 @@ sub get_zonesdir { } if ($sitetab) { - ($ref) = $sitetab->getAttribs({key => 'bindzones'}, 'value'); + my ($ref) = $sitetab->getAttribs({key => 'bindzones'}, 'value'); if ($ref and $ref->{value}) { $ZonesDir= $ref->{value}; } @@ -327,7 +327,7 @@ sub get_conf { } if ($sitetab) { - ($ref) = $sitetab->getAttribs({key => 'bindconf'}, 'value'); + my ($ref) = $sitetab->getAttribs({key => 'bindconf'}, 'value'); if ($ref and $ref->{value}) { $conf= $ref->{value}; }