From 2446318f61b3161cccc7c4c467f3a58be33a9c16 Mon Sep 17 00:00:00 2001 From: Aaron Conole Date: Fri, 11 Dec 2020 12:34:56 -0500 Subject: [PATCH] tx: rename variable This was originally intended to be part of f91cf35f5871 ("tx: when ...") but was omitted in error. Addresses the original comment. Signed-off-by: Aaron Conole --- lldp/tx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lldp/tx.c b/lldp/tx.c index 9b36071..9ecd9d1 100644 --- a/lldp/tx.c +++ b/lldp/tx.c @@ -330,15 +330,15 @@ void process_tx_idle(UNUSED struct lldp_agent *agent) return; } -/* we ignore 'state' value in the case that we have recently transitioned +/* we ignore 'adminStatus' in the case that we have recently transitioned * to the shutdown state (in the case of the 'tx' state change) to allow * for transmitting the ttl==0 as required by the IEEE standard. */ void process_tx_shutdown_frame(struct port *port, struct lldp_agent *agent, - bool ignoreState) + bool ignoreStatus) { if (agent->adminStatus != enabledRxTx && agent->adminStatus != enabledTxOnly) { - if (!ignoreState) { + if (!ignoreStatus) { return; } } -- 2.33.0