summaryrefslogtreecommitdiffstats
path: root/user_channel/channel_mgmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'user_channel/channel_mgmt.cpp')
-rw-r--r--user_channel/channel_mgmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_channel/channel_mgmt.cpp b/user_channel/channel_mgmt.cpp
index 3a9e2cf..0ece27e 100644
--- a/user_channel/channel_mgmt.cpp
+++ b/user_channel/channel_mgmt.cpp
@@ -827,7 +827,7 @@ uint8_t ChannelConfig::convertToChannelIndexNumber(const uint8_t chNum)
}
}
}
- return ((chNum == selfChNum) ? curChannel : chNum);
+ return ((chNum == currentChNum) ? curChannel : chNum);
}
std::string ChannelConfig::convertToNetInterface(const std::string& value)
OpenPOWER on IntegriCloud