[SEBA-843] Storing PortNo in the ONU Device struct so that it can be passed with the packetIndications
Change-Id: I28e0bf5721d11fc52d70c6072a6cf70586ba5f98
diff --git a/internal/bbsim/devices/olt_test.go b/internal/bbsim/devices/olt_test.go
index f83fc62..bcb6f77 100644
--- a/internal/bbsim/devices/olt_test.go
+++ b/internal/bbsim/devices/olt_test.go
@@ -41,9 +41,9 @@
HwAddress: net.HardwareAddr{0x2e, 0x60, 0x70, 0x13, byte(pon.ID), byte(onuId)},
}
onu.SerialNumber = onu.NewSN(olt.ID, pon.ID, onu.ID)
- pon.Onus = append(pon.Onus, onu)
+ pon.Onus = append(pon.Onus, &onu)
}
- olt.Pons = append(olt.Pons, pon)
+ olt.Pons = append(olt.Pons, &pon)
}
return olt
}