Revision 6292f557
Added by Viktor Gurov about 3 years ago
src/etc/inc/interfaces.inc | ||
---|---|---|
7684 | 7684 |
return false; |
7685 | 7685 |
} |
7686 | 7686 |
|
7687 |
function restart_interface_services($interface, $ipv6type) { |
|
7687 |
function restart_interface_services($interface, $ipv6type = "") {
|
|
7688 | 7688 |
global $config; |
7689 | 7689 |
|
7690 | 7690 |
services_unbound_configure(true, $interface); |
src/usr/local/www/status_interfaces.php | ||
---|---|---|
49 | 49 |
restart_interface_services($interface); |
50 | 50 |
filter_configure(); |
51 | 51 |
system_routing_configure(); |
52 |
restart_packages();
|
|
52 |
send_event("service reload packages");
|
|
53 | 53 |
} else { |
54 | 54 |
interface_configure($interface); |
55 | 55 |
} |
Also available in: Unified diff
Add default value to $ipv6type argument of restart_interface_services(). Fixes #13134