Browse Source

[trac3576] Correct minimal length for v6 vendor class option

Shawn Routhier 9 years ago
parent
commit
22baa11f69
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/dhcp/option_vendor_class.h

+ 2 - 2
src/lib/dhcp/option_vendor_class.h

@@ -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
 // Permission to use, copy, modify, and/or distribute this software for any
 // purpose with or without fee is hereby granted, provided that the above
 // 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.
     /// @brief Returns minimal length of the option for the given universe.
     uint16_t getMinimalLength() const {
     uint16_t getMinimalLength() const {
-        return (getUniverse() == Option::V4 ? 7 : 6);
+        return (getUniverse() == Option::V4 ? 7 : 8);
     }
     }
 
 
     /// @brief Enterprise ID.
     /// @brief Enterprise ID.