Skip to content

Commit

Permalink
loxilb-io#864 Initial support for lb source ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Nov 20, 2024
1 parent 7e2919d commit 6ffa2a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/restapi/handler/firewall.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ func ConfigGetFW(params operations.GetConfigFirewallAllParams) middleware.Respon
var tmpResult models.FirewallEntry
var tmpRule models.FirewallRuleEntry
var tmpOpts models.FirewallOptionEntry

if FW.Opts.Mark&0x40000000 != 0 {
continue
}

// Rule
tmpRule.DestinationIP = FW.Rule.DstIP
tmpRule.MaxDestinationPort = int64(FW.Rule.DstPortMax)
Expand Down

0 comments on commit 6ffa2a1

Please sign in to comment.