Skip to content

Commit

Permalink
[nes]: LAG changes ...
Browse files Browse the repository at this point in the history
  • Loading branch information
nes-repo committed Oct 21, 2015
1 parent 9b37b1f commit d726911
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
10 changes: 4 additions & 6 deletions lag/lacp/lacpUtils.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ static bool

bool
dot3adAggLacpStatus_update (
dot3adAggData_t *poEntry,
uint8_t u8RowStatus)
dot3adAggEntry_t *poEntry, uint8_t u8RowStatus)
{
register bool bRetCode = false;

Expand All @@ -123,8 +122,7 @@ dot3adAggLacpStatus_update (

bool
dot3adAggPortLacpStatus_update (
dot3adAggPortData_t *poEntry,
uint8_t u8RowStatus)
dot3adAggPortEntry_t *poEntry, uint8_t u8RowStatus)
{
register bool bRetCode = false;

Expand All @@ -140,7 +138,7 @@ dot3adAggPortLacpStatus_update (

if (xBitmap_getBit (poEntry->oNe.au8Flags, neAggPortFlags_lacp_c))
{
if (!ifRcvAddressTable_createRegister (poEntry->u32Index, poEntry->oPortX.au8ProtocolDA, poEntry->oPortX.u16ProtocolDA_len))
if (!ifRcvAddressTable_createRegister (poEntry->u32Index, poEntry->oX.au8ProtocolDA, poEntry->oX.u16ProtocolDA_len))
{
goto dot3adAggPortLacpStatus_update_cleanup;
}
Expand All @@ -160,7 +158,7 @@ dot3adAggPortLacpStatus_update (
{
/* TODO */

if (!ifRcvAddressTable_removeRegister (poEntry->u32Index, poEntry->oPortX.au8ProtocolDA, poEntry->oPortX.u16ProtocolDA_len))
if (!ifRcvAddressTable_removeRegister (poEntry->u32Index, poEntry->oX.au8ProtocolDA, poEntry->oX.u16ProtocolDA_len))
{
goto dot3adAggPortLacpStatus_update_cleanup;
}
Expand Down
6 changes: 2 additions & 4 deletions lag/lacp/lacpUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ extern "C" {

extern bool
dot3adAggLacpStatus_update (
dot3adAggData_t *poEntry,
uint8_t u8RowStatus);
dot3adAggEntry_t *poEntry, uint8_t u8RowStatus);
extern bool
dot3adAggPortLacpStatus_update (
dot3adAggPortData_t *poEntry,
uint8_t u8RowStatus);
dot3adAggPortEntry_t *poEntry, uint8_t u8RowStatus);

extern bool
dot3adAggPortLacp_stateUpdate (dot3adAggPortData_t *poEntry, bool bForce);
Expand Down

0 comments on commit d726911

Please sign in to comment.