3
0

ne pas mettre à jour si les IP sont identiques

This commit is contained in:
karchnu 2016-01-19 05:31:05 +01:00
parent 1e6c7fd300
commit d0973dc0e3

View File

@ -118,9 +118,13 @@ sub rt_dom_cli_autoupdate {
say "old : $str_old"; say "old : $str_old";
say "new : $str_new"; say "new : $str_new";
if($$rr{rdata} eq $$param{rdata}) {
say "SAME";
}
else {
$zf->rr_mod($str_old, $str_new); $zf->rr_mod($str_old, $str_new);
$zone->update( $zf ); $zone->update( $zf );
}
$app->disconnect(); $app->disconnect();
}; };