mirror of
https://github.com/h44z/wg-portal
synced 2025-02-26 05:49:14 +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:
parent
4f1044a963
commit
deff2334ac
@ -128,8 +128,8 @@ func (m Manager) PreparePeer(ctx context.Context, id domain.InterfaceIdentifier)
|
|||||||
RoutingTable: domain.NewStringConfigOption(iface.PeerDefRoutingTable, true),
|
RoutingTable: domain.NewStringConfigOption(iface.PeerDefRoutingTable, true),
|
||||||
PreUp: domain.NewStringConfigOption(iface.PeerDefPreUp, true),
|
PreUp: domain.NewStringConfigOption(iface.PeerDefPreUp, true),
|
||||||
PostUp: domain.NewStringConfigOption(iface.PeerDefPostUp, true),
|
PostUp: domain.NewStringConfigOption(iface.PeerDefPostUp, true),
|
||||||
PreDown: domain.NewStringConfigOption(iface.PeerDefPreUp, true),
|
PreDown: domain.NewStringConfigOption(iface.PeerDefPreDown, true),
|
||||||
PostDown: domain.NewStringConfigOption(iface.PeerDefPostUp, true),
|
PostDown: domain.NewStringConfigOption(iface.PeerDefPostDown, true),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user