Correction on .1pMapper create and improvement PPPTEthUni/VEIP handling
Signed-off-by: mpagenko <michael.pagenkopf@adtran.com>
Change-Id: I370b8cd7c95d33e8fc5fbfb271ae31192fd1aee9
diff --git a/internal/pkg/onuadaptercore/omci_ani_config.go b/internal/pkg/onuadaptercore/omci_ani_config.go
index e04f8c7..fdd7830 100644
--- a/internal/pkg/onuadaptercore/omci_ani_config.go
+++ b/internal/pkg/onuadaptercore/omci_ani_config.go
@@ -562,10 +562,14 @@
"device-id": oFsm.deviceID})
} else {
// The null pointer 0xFFFF specifies that frames with the associated priority are to be discarded.
+ // setting this parameter is not strictly needed anymore with the ensured .1pMapper create default setting
+ // but except for processing effort does not really harm - left to keep changes low
meParams.Attributes[meAttribute] = 0xffff
}
}
// The TP type value 0 also indicates bridging mapping, and the TP pointer should be set to 0xFFFF
+ // setting this parameter is not strictly needed anymore with the ensured .1pMapper create default setting
+ // but except for processing effort does not really harm - left to keep changes low
meParams.Attributes["TpPointer"] = 0xffff
if !foundIwPtr {