[VOL-1349] EPON OLT adapter (package A)
Change-Id: Id110f270b0acfb7fbda0ff79ff85bb8182af4b92
diff --git a/internal/pkg/core/l2oam_device.go b/internal/pkg/core/l2oam_device.go
index 76b548f..6e1455b 100644
--- a/internal/pkg/core/l2oam_device.go
+++ b/internal/pkg/core/l2oam_device.go
@@ -3314,9 +3314,10 @@
if (l2oam.OnuPkgType == l2oam.OnuPkgTypeA) && (packet.IsOnuPkgA()) {
logger.Info(context.Background(), fmt.Sprintf("[%s] recieveKeepAlive() Pkg type A.", d.getDeviceName()))
if d.keepAliveResponse != nil {
- d.keepAliveResponse <- "PkgTypeError"
+ //d.keepAliveResponse <- "PkgTypeError"
+ d.keepAliveResponse <- "success"
}
- // d.Base.recieveKeepAlive(etherPacket)
+ d.Base.recieveKeepAlive(etherPacket)
d.PkgType = l2oam.OnuPkgTypeA
} else if (l2oam.OnuPkgType == l2oam.OnuPkgTypeB) && (packet.IsOnuPkgB()) {
logger.Info(context.Background(), fmt.Sprintf("[%s] recieveKeepAlive() Pkg type B.", d.getDeviceName()))