Commit 45b8dc62 authored by Mark Andrews's avatar Mark Andrews
Browse files

add #ifdef notdef check of DNS_OPT_EXPIRE length

parent 6cba0b8e
......@@ -151,6 +151,13 @@ fromwire_opt(ARGS_FROMWIRE) {
isc_region_consume(&sregion, addrbytes);
break;
}
#ifdef notyet
case DNS_OPT_EXPIRE:
if (length != 0 && length != 4)
return (DNS_R_FORMERR);
isc_region_consume(&sregion, length);
break;
#endif
default:
isc_region_consume(&sregion, length);
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment