Skip to content

Commit

Permalink
renamed set_services
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Oct 9, 2018
1 parent 4bf1085 commit ae17215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/DhcpServer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1716,10 +1716,10 @@ sub Write {
foreach my $iface (@{FirewalldWrapper->all_known_interfaces() // []}) {
push @all_ifaces, $iface->{'id'};
}
FirewalldWrapper->set_services (["dhcp"], \@all_ifaces, 0);
FirewalldWrapper->modify_interface_services (["dhcp"], \@all_ifaces, 0);
if ($open_firewall) {
# allowing on selected interfaces
FirewalldWrapper->set_services (["dhcp"], \@allowed_interfaces, 1);
FirewalldWrapper->modify_interface_services (["dhcp"], \@allowed_interfaces, 1);
}
}

Expand Down

0 comments on commit ae17215

Please sign in to comment.