fixed bug where increased capacity array was being created as a new temporty var instead of using the actual var

Change-Id: I79c5b05cc15f4430146b5624310362d8d3cde4c0
diff --git a/switchq/address.go b/switchq/address.go
index 26c662c..2fbd0f4 100644
--- a/switchq/address.go
+++ b/switchq/address.go
@@ -70,7 +70,8 @@
 			idx += 1
 			if idx >= capacity {
 				capacity += 20
-				tmp, result := result, make([]AddressRec, capacity)
+				var tmp []AddressRec
+				tmp, result = result, make([]AddressRec, capacity)
 				copy(result, tmp)
 			}
 		}