mirror of
				https://github.com/h44z/wg-portal.git
				synced 2025-11-03 23:56:18 +00:00 
			
		
		
		
	Fix the wrong default hooks for PreDown and PostDown on Peer Preparing by using the correct properties of the iface (#293)
Co-authored-by: Tim Dithmer <tim.dithmer@suresecure.de>
This commit is contained in:
		@@ -128,8 +128,8 @@ func (m Manager) PreparePeer(ctx context.Context, id domain.InterfaceIdentifier)
 | 
			
		||||
			RoutingTable:      domain.NewStringConfigOption(iface.PeerDefRoutingTable, true),
 | 
			
		||||
			PreUp:             domain.NewStringConfigOption(iface.PeerDefPreUp, true),
 | 
			
		||||
			PostUp:            domain.NewStringConfigOption(iface.PeerDefPostUp, true),
 | 
			
		||||
			PreDown:           domain.NewStringConfigOption(iface.PeerDefPreUp, true),
 | 
			
		||||
			PostDown:          domain.NewStringConfigOption(iface.PeerDefPostUp, true),
 | 
			
		||||
			PreDown:           domain.NewStringConfigOption(iface.PeerDefPreDown, true),
 | 
			
		||||
			PostDown:          domain.NewStringConfigOption(iface.PeerDefPostDown, true),
 | 
			
		||||
		},
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user