summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c55122d)
raw | patch | inline | side by side (parent: c55122d)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Feb 2008 07:41:01 +0000 (07:41 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Feb 2008 07:41:01 +0000 (07:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8762 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 fd36a5bbf7361f435f95a737af38c7558e6a31cd..3d627c9b070a20ee51c733819ab2fe9c56be833b 100755 (executable)
--- a/gosa-si/gosa-si-client
+++ b/gosa-si/gosa-si-client
# send xml hash to server with general server passwd
my $res = &send_msg_hash2address($register_hash, $server, $default_server_key);
if($res == 0) {
+ # Set fixed client address
+ $client_ip= &get_local_ip_for_remote_ip(sprintf("%s", $server =~ /^([0-9\.]*?):.*$/));
+ $client_address= "$client_ip:$client_port";
last;
} else {
next;