]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1825] Used int64_t instead of uint32_t for ifindex within setIndex and getIndex
authorSriram Rajagopalan <sriram@nile-global.com>
Wed, 28 Apr 2021 17:29:05 +0000 (22:59 +0530)
committerAndrei Pavel <andrei@isc.org>
Thu, 12 Aug 2021 15:51:12 +0000 (18:51 +0300)
src/lib/dhcp/pkt.h

index 54e61d73dac106b792dab5c44cb94395f3fa448d..398e42d2747fb5a153cf4182f91b6f46adc961b9 100644 (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_);
     };