mirror of
https://github.com/luscis/openlan.git
synced 2025-10-27 10:51:13 +08:00
fea: add restart for ipsec tunnel.
This commit is contained in:
@@ -98,6 +98,7 @@ type Networker interface {
|
||||
type IPSecer interface {
|
||||
AddTunnel(data schema.IPSecTunnel)
|
||||
DelTunnel(data schema.IPSecTunnel)
|
||||
RestartTunnel(data schema.IPSecTunnel)
|
||||
ListTunnels(call func(obj schema.IPSecTunnel))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user