summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6cb91d3)
raw | patch | inline | side by side (parent: 6cb91d3)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Aug 2008 14:58:30 +0000 (14:58 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Aug 2008 14:58:30 +0000 (14:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12143 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/GosaPackages.pm | patch | blob | history |
index 3f5bc8ca20036a2439e013b8ff4d761bbe0c6a4a..fb3a7048f062460bdfab460bb56002dbb04b8d3d 100644 (file)
foreach my $out_msg ( @msg_l ) {
# determine the correct outgoing source address to the corresponding target address
$out_msg =~ /<target>(\S*)<\/target>/;
- my $act_server_ip = &main::get_local_ip_for_remote_ip(sprintf("%s", $1 =~ /^([0-9\.]*?):.*$/));
+ my $act_target = $1;
+ $act_target =~ s/GOSA/$main::server_address/;
+ my $act_server_ip = &main::get_local_ip_for_remote_ip(sprintf("%s", $act_target =~ /^([0-9\.]*?):.*$/));
# Patch the correct outgoing source address
if ($out_msg =~ /<source>GOSA<\/source>/ ) {