Skip to content

Commit e521a35

Browse files
author
Shuotian Cheng
authored
[portsorch]: Create a bridge port with admin status set to UP (#259)
1 parent 9c2046e commit e521a35

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

orchagent/portsorch.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,8 +1025,7 @@ bool PortsOrch::addBridgePort(Port &port)
10251025
/* Create a bridge port with admin status set to UP */
10261026
attr.id = SAI_BRIDGE_PORT_ATTR_ADMIN_STATE;
10271027
attr.value.booldata = true;
1028-
// FIXME: Right now this attribute is not supported
1029-
// attrs.push_back(attr);
1028+
attrs.push_back(attr);
10301029

10311030
sai_status_t status = sai_bridge_api->create_bridge_port(&port.m_bridge_port_id, gSwitchId, attrs.size(), attrs.data());
10321031
if (status != SAI_STATUS_SUCCESS)

0 commit comments

Comments
 (0)