mirror of
				https://codeberg.org/cunicu/cunicu.git
				synced 2025-11-01 06:32:34 +08:00 
			
		
		
		
	config: rewrite config sub-package and add more tests
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
		| @@ -193,7 +193,7 @@ func (d *Daemon) SyncAllInterfaces() error { | ||||
| 	keepInterfaces := intf.InterfaceList{} | ||||
|  | ||||
| 	for _, device := range devices { | ||||
| 		if !d.Config.WireguardInterfaceFilter.Match([]byte(device.Name)) { | ||||
| 		if !d.Config.WireguardInterfaceFilter.MatchString(device.Name) { | ||||
| 			continue // Skip interfaces which dont match the filter | ||||
| 		} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Steffen Vogel
					Steffen Vogel