From 4cae4bffe01e5281e535055bc03bd74d8de5f7ac Mon Sep 17 00:00:00 2001 From: janw Date: Thu, 7 Feb 2008 07:41:01 +0000 Subject: [PATCH] Save outgoing address when registration was sucessfull. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8762 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-client | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index fd36a5bbf..3d627c9b0 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -867,6 +867,9 @@ sub register_at_gosa_si_server { # 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; -- 2.30.2