Untitled

 avatar
unknown
plain_text
a year ago
2.2 kB
4
Indexable
diff --git a/zyxel/mos/mos-1.0/apps/app/backend/backenddatapath.c b/zyxel/mos/mos-1.0/apps/app/backend/backenddatapath.c
index 8aca5a14d1..180dd7b40b 100755
--- a/zyxel/mos/mos-1.0/apps/app/backend/backenddatapath.c
+++ b/zyxel/mos/mos-1.0/apps/app/backend/backenddatapath.c
@@ -2088,7 +2088,7 @@ void backendDatapathParseUniByClass(mosMeId uniMeId, void *uniObject, mosuint8 o
        mosRet ret;
        mosboolean macBridgePortFound = FALSE;
        mosObjectIeee8021pMapperServiceProfile_t ieee8021pMapperServiceProfile;
-       mosObjectExtVlanTagOperConfigData_t extVlanTagOperConfigData;
+       mosObjectExtVlanTagOperConfigData_t extVlanTagOperConfigData = {NULL};
        mosObjectMacBridgePortConfigurationData_t macBridgePortConfigData;
        mosObjectMacBridgeServiceProfile_t macBridgeServiceProfile;
        mosBackendDatapathUniInfo_t *uniInfoCurrent = NULL;
@@ -2899,6 +2899,7 @@ void backendDatapathMatch(void)
        uniInfoCurrent = uniInfoHeader;
        while(uniInfoCurrent != NULL)
        {
+               printf("[KC %s %d]  uniInfoCurrent->uniInstance %d\n", __FUNCTION__, __LINE__,  uniInfoCurrent->uniInstance);
                if(uniInfoCurrent->tableEntryNum != 0)/*There is(are) VLAN action(s) bound to the UNI*/
                {
                        /*per UNI rule check*/
@@ -2952,13 +2953,19 @@ void backendDatapathMatch(void)
                }
                else/*The UNI has no VLAN actions*/
                {
+#if 0
+                       if(uniInfoCurrent->uniClass == MOS_ME_ID_PPTP_ETHERNET_UNI){
+#else
                        if(digiRo2022 && uniInfoCurrent->uniClass == MOS_ME_ID_PPTP_ETHERNET_UNI){
+#endif
                                /* For Digi Romania:
                                Customer expect that the LAN port should be added back to default wan interface due to it doesn't be binding on any bridge wan interface.
                                So don't create the default path if PPTP UNI has no VLAN actions under Hibird mode. */
                                printf("\n uniInfoCurrent.uniInstanceId=%d skip create path due to PPTP UNI has no VLAN actions!", uniInfoCurrent->uniInstance);
                        }else{
-
+                       
Editor is loading...
Leave a Comment