Skip to content

Commit

Permalink
Fix SOA parsing.
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Aug 28, 2014
1 parent 1b40310 commit 429e210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/rdns.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ union rdns_reply_element_un {
int32_t refresh;
int32_t retry;
int32_t expire;
uint32_t minimum;
} soa;
struct {
uint8_t usage;
Expand Down
1 change: 1 addition & 0 deletions src/parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ rdns_parse_rr (struct rdns_resolver *resolver,
GET32 (elt->content.soa.refresh);
GET32 (elt->content.soa.retry);
GET32 (elt->content.soa.expire);
GET32 (elt->content.soa.minimum);
parsed = true;
break;
case DNS_T_MX:
Expand Down

0 comments on commit 429e210

Please sign in to comment.