All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 9df1b693 authored by Kirk Webb's avatar Kirk Webb

Fix typo in snmpit_force10 - from Brecht V. @ UGent

parent 0859dba7
......@@ -1788,9 +1788,10 @@ sub getChannelIfIndex($@) {
# If we don't yet have a portchannel index, and a single port was
# passed in, just return the ifindex for that port (single wire trunks).
if (!$ifindex && scalar(@ports) == 1) {
if (exists($self->{IFINDEX}{$ports[0]})) {
$ifindex = $self->{IFINDEX}{$ports[0]};
if (!$ifindex && scalar(@modports) == 1) {
$self->debug("$id: no portchannel found, single port passed in: $modports[0]\n");
if (exists($self->{IFINDEX}{$modports[0]})) {
$ifindex = $self->{IFINDEX}{$modports[0]};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment