mirror of
				https://github.com/gravitl/netmaker.git
				synced 2025-10-31 04:06:37 +08:00 
			
		
		
		
	fix parsing postup/postdown
This commit is contained in:
		| @@ -474,7 +474,7 @@ func UpdateWgInterface(file, privateKey, nameserver string, node models.Node) er | ||||
| 		} | ||||
| 	} | ||||
| 	if node.PostDown != "" { | ||||
| 		parts := strings.Split(node.PostDown, ";") | ||||
| 		parts := strings.Split(node.PostDown, " ; ") | ||||
| 		for i, part := range parts { | ||||
| 			if i == 0 { | ||||
| 				wireguard.Section(section_interface).Key("PostDown").SetValue(part) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Matthew R. Kasun
					Matthew R. Kasun