Skip to content

Commit

Permalink
Merge pull request #722 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
gh-718 Fix masquerade session inactivity timeout
  • Loading branch information
UltraInstinct14 committed Jul 8, 2024
2 parents c393d44 + f0a0d5e commit abb76aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/loxinet/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -1906,6 +1906,7 @@ func (R *RuleH) AddFwRule(fwRule cmn.FwRuleArg, fwOptArgs cmn.FwOptArg) (int, er
servArg.Sel = cmn.LbSelRr
servArg.Mode = cmn.LBModeDefault
servArg.Snat = true
servArg.InactiveTimeout = LbDefaultInactiveTimeout
servArg.Name = fmt.Sprintf("%s:%s:%d", "snat", fwOpts.opt.snatIP, fwOpts.opt.snatPort)

snatEP := []cmn.LbEndPointArg{{EpIP: fwOpts.opt.snatIP, EpPort: fwOpts.opt.snatPort}}
Expand Down

0 comments on commit abb76aa

Please sign in to comment.