typesafehub / conductr-cli

CLI for Lightbend ConductR
Other
16 stars 21 forks source link

Fix sandbox network interface alias calculation on linux when launching with 10 or more instances #537

Closed longshorej closed 7 years ago

longshorej commented 7 years ago

This fixes a bug with sandbox run where if specifying large -n values (such as 10), the interface name would wrap around. Now, we ensure that it's calculated using the entire last component of the IP address instead of just the last digit.

Manual test was completed successfully with -n 15.