From 1c4e243518fa4873360bac766779bacb9a364910 Mon Sep 17 00:00:00 2001 From: extremecoders-re Date: Fri, 7 May 2021 12:05:26 +0530 Subject: [PATCH] [BUGFIX] Fix shadowing of iface variable --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index fa87cd2..7db42c0 100644 --- a/main.go +++ b/main.go @@ -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) }