From f6db63ab1d45cfeccac4ca5eead0002b0136c74f Mon Sep 17 00:00:00 2001 From: Shigeru Yasuda Date: Mon, 28 Oct 2013 16:35:33 +0900 Subject: [PATCH] Minor fix for the previous uppl patch. PhyUtil::FillDbSchema() Share the code for DATATYPE_IPV6 and DATATYPE_UINT8_ARRAY_16. Change-Id: Ia84509affbbdf02efccefce63280005aab9c4463 Signed-off-by: Shigeru Yasuda --- coordinator/modules/uppl/phy_util.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/coordinator/modules/uppl/phy_util.cc b/coordinator/modules/uppl/phy_util.cc index f885bb58..7b02751c 100644 --- a/coordinator/modules/uppl/phy_util.cc +++ b/coordinator/modules/uppl/phy_util.cc @@ -605,11 +605,6 @@ void PhyUtil::FillDbSchema(ODBCMTableColumns attr_name, string attr_value, break; } - case DATATYPE_IPV6: - TABLE_ATTR_SCHEMA_UINT8_SET(table_attr_schema, attr_length, attr_value, - 16 + 1); - break; - case DATATYPE_UINT8_ARRAY_2: TABLE_ATTR_SCHEMA_UINT8_SET(table_attr_schema, attr_length, attr_value, 2 + 1); @@ -640,6 +635,7 @@ void PhyUtil::FillDbSchema(ODBCMTableColumns attr_name, string attr_value, 11 + 1); break; + case DATATYPE_IPV6: case DATATYPE_UINT8_ARRAY_16: TABLE_ATTR_SCHEMA_UINT8_SET(table_attr_schema, attr_length, attr_value, 16 + 1); -- 2.36.6