diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2012-03-02 08:38:58 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2012-03-02 08:38:58 +0000 |
commit | 7fc349b740f993e7c0dcdc03904b7d1eaf85d260 (patch) | |
tree | 9dc14756438a83ffbf35493070fce9801b6141fe /usr.sbin/nsd/edns.c | |
parent | 8565f964d945531fadce63b31b74b3988b06cf24 (diff) |
import nsd 3.2.10, "cool" jakob@, also looked over by Brad
Diffstat (limited to 'usr.sbin/nsd/edns.c')
-rw-r--r-- | usr.sbin/nsd/edns.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/nsd/edns.c b/usr.sbin/nsd/edns.c index 49f8678c914..3ece1220118 100644 --- a/usr.sbin/nsd/edns.c +++ b/usr.sbin/nsd/edns.c @@ -64,7 +64,6 @@ edns_parse_record(edns_record_type *edns, buffer_type *packet) uint8_t opt_owner; uint16_t opt_type; uint16_t opt_class; - uint8_t opt_extended_rcode; uint8_t opt_version; uint16_t opt_flags; uint16_t opt_rdlen; @@ -84,7 +83,7 @@ edns_parse_record(edns_record_type *edns, buffer_type *packet) } opt_class = buffer_read_u16(packet); - opt_extended_rcode = buffer_read_u8(packet); + (void)buffer_read_u8(packet); /* opt_extended_rcode */ opt_version = buffer_read_u8(packet); opt_flags = buffer_read_u16(packet); opt_rdlen = buffer_read_u16(packet); |