mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
openvpn: move to shared device plugin spot
We already create interfaces on demand in interface_configure() so it's ok to create remaining interfaces where IPsec and VXLAN is done as well.
This commit is contained in:
parent
11106c4990
commit
4c4da7dfed
@ -883,9 +883,6 @@ function interfaces_configure($verbose = false)
|
||||
interfaces_lagg_configure($verbose);
|
||||
interfaces_vlan_configure($verbose);
|
||||
|
||||
/* XXX temporary plugin spot */
|
||||
plugins_configure('openvpn_prepare', $verbose);
|
||||
|
||||
/*
|
||||
* Queues are set up to order interfaces according to their
|
||||
* dependencies / requirements of devices or other interfaces.
|
||||
@ -959,8 +956,9 @@ function interfaces_configure($verbose = false)
|
||||
}
|
||||
}
|
||||
|
||||
/* XXX temporary plugin spot */
|
||||
/* XXX temporary plugin spot for device creation, see plugins_devices() */
|
||||
plugins_configure('ipsec_prepare', $verbose);
|
||||
plugins_configure('openvpn_prepare', $verbose);
|
||||
plugins_configure('vxlan_prepare', $verbose);
|
||||
|
||||
interfaces_group_setup();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user