From d7b8697d007b5d7757f60c4d207731aaa05f5f31 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Mon, 22 Feb 2016 15:15:43 +0100 Subject: 2+2 (vs 4+0) DHCPv6 ISC vendor layout --- common/tables.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'common/tables.c') 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; -- cgit v1.2.1