2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00

[#1825] Used int64_t instead of uint32_t for ifindex within setIndex and getIndex

This commit is contained in:
Sriram Rajagopalan
2021-04-28 22:59:05 +05:30
committed by Andrei Pavel
parent aaa9acdcaa
commit 2ce932ec24

View File

@@ -480,7 +480,7 @@ public:
/// @brief Sets interface index.
///
/// @param ifindex specifies interface index.
void setIndex(uint32_t ifindex) {
void setIndex(int64_t ifindex) {
ifindex_ = ifindex;
};
@@ -492,7 +492,7 @@ public:
/// @brief Returns interface index.
///
/// @return interface index
uint32_t getIndex() const {
int64_t getIndex() const {
return (ifindex_);
};