Skip to content

Commit

Permalink
RSS: Reuse SNAT IPs until port range is exhausted
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallagher committed Jul 10, 2024
1 parent c9f1ddd commit 3f2c7d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sled-agent/src/rack_setup/plan/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1133,6 +1133,8 @@ impl ServicePortBuilder {
self.next_snat_port += NUM_SOURCE_NAT_PORTS;
if self.next_snat_port.0 == 0 {
self.next_snat_ip = None;
} else {
self.next_snat_ip = Some(snat_ip);
}

let snat_cfg =
Expand Down

0 comments on commit 3f2c7d0

Please sign in to comment.