summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 880eea1)
raw | patch | inline | side by side (parent: 880eea1)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 12 Feb 2008 14:05:42 +0000 (14:05 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 12 Feb 2008 14:05:42 +0000 (14:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8867 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-client | patch | blob | history |
diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client
index 9d3529c8b3285140a097ac9d2a6ebc72c7d67c00..337e23200a624cfb64a1e11a79147bf908f0f736 100755 (executable)
--- a/gosa-si/gosa-si-client
+++ b/gosa-si/gosa-si-client
my $dnsresult= $resolver->search($ip);
my $dnsname="";
if(!defined($dnsresult)) {
- &write_to_file("goto-error-dns:Could not resolve hostname for ip $ip", $fai_logpath);
+ &write_to_file("goto-error-dns:$ip", $fai_logpath);
exit(1);
} else {
$dnsname=$dnsresult->{answer}[0]->{ptrdname};