summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2016-02-22 15:15:43 +0100
committerFrancis Dupont <fdupont@isc.org>2016-02-22 15:15:43 +0100
commitd7b8697d007b5d7757f60c4d207731aaa05f5f31 (patch)
treec4b83b66091d15680ac33410fc58d1c99040a3c0
parenta910a2b7b28cbd7b2f56ef4a6b8b9ffbf502bb6b (diff)
downloadisc-dhcp-rt41752.tar.gz
2+2 (vs 4+0) DHCPv6 ISC vendor layoutrt41752
-rw-r--r--common/tables.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/tables.c b/common/tables.c
index 7617b7ef..b33a2693 100644
--- a/common/tables.c
+++ b/common/tables.c
@@ -1449,12 +1449,12 @@ void initialize_common_option_spaces()
isc6_universe.encapsulate = hashed_option_space_encapsulate;
isc6_universe.foreach = hashed_option_space_foreach;
isc6_universe.decode = parse_option_buffer;
- isc6_universe.length_size = 0;
- isc6_universe.tag_size = 4;
- isc6_universe.get_tag = getULong;
- isc6_universe.store_tag = putULong;
- isc6_universe.get_length = NULL;
- isc6_universe.store_length = NULL;
+ isc6_universe.length_size = 2;
+ isc6_universe.tag_size = 2;
+ isc6_universe.get_tag = getUShort;
+ isc6_universe.store_tag = putUShort;
+ isc6_universe.get_length = getUShort;
+ isc6_universe.store_length = putUShort;
isc6_universe.site_code_min = 0;
/* No END option. */
isc6_universe.end = 0x00;