]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[trac3576] Correct minimal length for v6 vendor class option
authorShawn Routhier <sar@isc.org>
Thu, 1 Oct 2015 00:15:00 +0000 (17:15 -0700)
committerShawn Routhier <sar@isc.org>
Thu, 1 Oct 2015 00:15:00 +0000 (17:15 -0700)
src/lib/dhcp/option_vendor_class.h

index 9c46f30d595ee5e9dbb26a38201a485fa81a38bf..83a3831bd6855c900f70824df577d02a39023875 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC")
 //
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
@@ -177,7 +177,7 @@ private:
 
     /// @brief Returns minimal length of the option for the given universe.
     uint16_t getMinimalLength() const {
-        return (getUniverse() == Option::V4 ? 7 : 6);
+        return (getUniverse() == Option::V4 ? 7 : 8);
     }
 
     /// @brief Enterprise ID.