Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54373 - in /branches/SuSE-Code-11-Branch/dhcp-server: package/yast2-dhcp-server.changes src/DhcpServer.pm
  • From: juhliarik@xxxxxxxxxxxxxxxx
  • Date: Mon, 05 Jan 2009 14:53:49 -0000
  • Message-id: <E1LJqpx-00017P-7a@xxxxxxxxxxxxxxxx>
Author: juhliarik
Date: Mon Jan 5 15:53:48 2009
New Revision: 54373

URL: http://svn.opensuse.org/viewcvs/yast?rev=54373&view=rev
Log:
added fix for firewall

Modified:
branches/SuSE-Code-11-Branch/dhcp-server/package/yast2-dhcp-server.changes
branches/SuSE-Code-11-Branch/dhcp-server/src/DhcpServer.pm

Modified:
branches/SuSE-Code-11-Branch/dhcp-server/package/yast2-dhcp-server.changes
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/dhcp-server/package/yast2-dhcp-server.changes?rev=54373&r1=54372&r2=54373&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/dhcp-server/package/yast2-dhcp-server.changes
(original)
+++ branches/SuSE-Code-11-Branch/dhcp-server/package/yast2-dhcp-server.changes
Mon Jan 5 15:53:48 2009
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Mon Jan 5 15:51:22 CET 2009 - juhliarik@xxxxxxx
+
+- fix for enable dhcp-server in SuSEFirewall (bnc #460238)
+- 2.17.3
+
+-------------------------------------------------------------------
Thu Nov 6 14:41:23 CET 2008 - juhliarik@xxxxxxx

- added fix for problem with loading LDAP settings (bug #350634)

Modified: branches/SuSE-Code-11-Branch/dhcp-server/src/DhcpServer.pm
URL:
http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/dhcp-server/src/DhcpServer.pm?rev=54373&r1=54372&r2=54373&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/dhcp-server/src/DhcpServer.pm (original)
+++ branches/SuSE-Code-11-Branch/dhcp-server/src/DhcpServer.pm Mon Jan 5
15:53:48 2009
@@ -1495,7 +1495,7 @@
foreach my $iface (@allowed_interfaces) {
my $iface_zone = SuSEFirewall->GetZoneOfInterface($iface);
if (defined $iface_zone) {
- $open_firewall =
SuSEFirewall->IsServiceSupportedInZone("dhcp-server", $iface_zone);
+ $open_firewall =
SuSEFirewall->IsServiceSupportedInZone("service:dhcp-server", $iface_zone);
} else {
$open_firewall = 0;
}
@@ -1691,10 +1691,10 @@
foreach my $iface (@{SuSEFirewall->GetAllKnownInterfaces()}) {
push @all_ifaces, $iface->{'id'};
}
- SuSEFirewall->SetServices (["dhcp-server"], \@all_ifaces, 0);
+ SuSEFirewall->SetServices (["service:dhcp-server"], \@all_ifaces, 0);
if ($open_firewall) {
# allowing on selected interfaces
- SuSEFirewall->SetServices (["dhcp-server"], \@allowed_interfaces,
1);
+ SuSEFirewall->SetServices (["service:dhcp-server"],
\@allowed_interfaces, 1);
}
}


--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages