Skip to content

Commit

Permalink
skip routing when doing first source route send
Browse files Browse the repository at this point in the history
  • Loading branch information
splitice committed Sep 13, 2023
1 parent c728532 commit d27f128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Af.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class Af extends EventEmitter {
if (!isBroadcast && dstEp.getSrcRtg && !isResend) {
const srcRtg = dstEp.getSrcRtg()
if (srcRtg) {
const newAfParams = Object.assign(Af.buildAfSrcRtg(srcRtg), afParams, { options: afParams.options & ~ZSC.AF.options.DISC_ROUTE })
const newAfParams = Object.assign(Af.buildAfSrcRtg(srcRtg), afParams, { options: (afParams.options & ~ZSC.AF.options.DISC_ROUTE) | ZSC.AF.options.SKIP_ROUTING })
rsp = await controller.request('AF', 'dataRequestSrcRtg', newAfParams)
shouldResend = true
}
Expand Down

0 comments on commit d27f128

Please sign in to comment.