add #ifdef notdef check of DNS_OPT_EXPIRE length

This commit is contained in:
Mark Andrews
2014-02-20 15:06:49 +11:00
parent 6cba0b8e61
commit 45b8dc626a

View File

@@ -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;