Skip to content

Commit

Permalink
[BUGFIX] Fix shadowing of iface variable
Browse files Browse the repository at this point in the history
  • Loading branch information
extremecoders-re committed May 7, 2021
1 parent 011b141 commit 1c4e243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func parse_load_balancers(args []string, tunnel bool) {

// Obtaining the interface name of the load balancer IP's doesn't make sense in tunnel mode
if !tunnel {
iface := get_iface_from_ip(lb_ip)
iface = get_iface_from_ip(lb_ip)
if iface == "" {
log.Fatal("[FATAL] IP address not associated with an interface ", lb_ip)
}
Expand Down

0 comments on commit 1c4e243

Please sign in to comment.