From: Sriram Rajagopalan Date: Wed, 28 Apr 2021 17:29:05 +0000 (+0530) Subject: [#1825] Used int64_t instead of uint32_t for ifindex within setIndex and getIndex X-Git-Tag: Kea-1.9.11~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ce932ec240c8eb16c091c02f2d0d7f669d3ba4f;p=thirdparty%2Fkea.git [#1825] Used int64_t instead of uint32_t for ifindex within setIndex and getIndex --- diff --git a/src/lib/dhcp/pkt.h b/src/lib/dhcp/pkt.h index 54e61d73da..398e42d274 100644 --- a/src/lib/dhcp/pkt.h +++ b/src/lib/dhcp/pkt.h @@ -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_); };