mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 07:41:17 +00:00
Merge pull request openziti/fabric#170 from openziti/fix-terminator-patch
Validation extension points for sessions and terminators Fix terminator patch to not update/clear peer data unless requested
This commit is contained in:
@@ -67,7 +67,7 @@ func (h *createTerminatorHandler) HandleReceive(msg *channel2.Message, ch channe
|
||||
Cost: uint16(request.Cost),
|
||||
}
|
||||
|
||||
if id, err := h.network.Terminators.Create(terminator); err == nil {
|
||||
if id, err := h.network.CreateTerminator(terminator, request.ExtensionData); err == nil {
|
||||
pfxlog.Logger().Infof("created terminator [t/%s]", id)
|
||||
handler_common.SendSuccess(msg, ch, id)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user