summaryrefslogtreecommitdiffstats
path: root/src/plugins/lacp/tx_machine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lacp/tx_machine.c')
-rw-r--r--src/plugins/lacp/tx_machine.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/lacp/tx_machine.c b/src/plugins/lacp/tx_machine.c
index 21b767c39d2..4cc4e68a103 100644
--- a/src/plugins/lacp/tx_machine.c
+++ b/src/plugins/lacp/tx_machine.c
@@ -47,7 +47,7 @@ lacp_tx_action_transmit (void *p1, void *p2)
return 0;
// No more than 3 LACPDUs per fast interval
- if (now <= (sif->last_lacpdu_time + 0.333))
+ if (now <= (sif->last_lacpdu_sent_time + 0.333))
return 0;
if (sif->ntt)
@@ -97,9 +97,6 @@ lacp_init_tx_machine (vlib_main_t * vm, slave_if_t * sif)
{
lacp_machine_dispatch (&lacp_tx_machine, vm, sif, LACP_TX_EVENT_BEGIN,
&sif->tx_state);
- if (sif->is_passive == 0)
- lacp_machine_dispatch (&lacp_tx_machine, vm, sif, LACP_TX_EVENT_NTT,
- &sif->tx_state);
}
/*