This commit is contained in:
世界 2024-06-08 18:57:54 +08:00
parent 3853201412
commit ce0da5b557
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -121,7 +121,7 @@ func (w *WireGuard) Start() error {
return w.start() return w.start()
} }
func (w *WireGuard) PortStart() error { func (w *WireGuard) PostStart() error {
if common.All(w.peers, func(peer wireguard.PeerConfig) bool { if common.All(w.peers, func(peer wireguard.PeerConfig) bool {
return peer.Endpoint.IsValid() return peer.Endpoint.IsValid()
}) { }) {