Commit c8e6267b authored by Côme Chilliet's avatar Côme Chilliet

🚑 fix(ldap2zone) Fix root records output

issue #5759
parent 082bf6a8
......@@ -242,12 +242,8 @@ sub zoneparse
push @{$list},{ name => $name, class => $class,
text => $value, ttl => $ttl, ORIGIN => $zone };
} else {
if($name ne "@") {
push @{$list},{ name => $name, class => $class,
host => $value, ttl => $ttl, ORIGIN => $zone };
} else {
push @{$list},{ host => $value, ttl => $ttl, ORIGIN => $zone };
}
push @{$list},{ name => $name, class => $class,
host => $value, ttl => $ttl, ORIGIN => $zone };
}
print "Added record $type $name $class $value $ttl\n" if $verbose;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment