Remove Routing check from OCDevAddr
authorAbhishek Sharma <ce.abhishek@samsung.com>
Tue, 25 Oct 2016 06:36:02 +0000 (12:06 +0530)
committerAshok Babu Channa <ashok.channa@samsung.com>
Thu, 27 Oct 2016 07:09:46 +0000 (07:09 +0000)
Applications had a dependency to either define EP or GW
in build scripts.
Its required to be removed only in octypes.h as its
automatically taken care-of in other files by csdk build
scripts.

Change-Id: I4570aa63681779b463dc250cdb53ab90c4338a40
Signed-off-by: Abhishek Sharma <ce.abhishek@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13639
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Reviewed-by: Dave Thaler <dthaler@microsoft.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/stack/include/octypes.h

index 6b0017d..d0d6bea 100644 (file)
@@ -691,9 +691,10 @@ typedef struct
 
     /** usually zero for default interface.*/
     uint32_t                ifindex;
-#if defined (ROUTING_GATEWAY) || defined (ROUTING_EP)
-    char                    routeData[MAX_ADDR_STR_SIZE]; //destination GatewayID:ClientId
-#endif
+
+    /** destination GatewayID:ClientId.*/
+    char                    routeData[MAX_ADDR_STR_SIZE];
+
 } OCDevAddr;
 
 /**