Skip to content

Commit

Permalink
- Fix that prefer-ip4 and prefer-ip6 can be get and set with
Browse files Browse the repository at this point in the history
  unbound-control, with libunbound and the unbound-checkconf option
  output function.
  • Loading branch information
wcawijngaards committed Sep 18, 2020
1 parent 4cc559d commit 2541ccb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
18 September 2020: Wouter
- Fix that prefer-ip4 and prefer-ip6 can be get and set with
unbound-control, with libunbound and the unbound-checkconf option
output function.

15 September 2020: George
- Introduce test for statistics.

Expand Down
4 changes: 4 additions & 0 deletions util/config_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ int config_set_option(struct config_file* cfg, const char* opt,
else S_YNO("do-ip6:", do_ip6)
else S_YNO("do-udp:", do_udp)
else S_YNO("do-tcp:", do_tcp)
else S_YNO("prefer-ip4:", prefer_ip4)
else S_YNO("prefer-ip6:", prefer_ip6)
else S_YNO("tcp-upstream:", tcp_upstream)
else S_YNO("udp-upstream-without-downstream:",
udp_upstream_without_downstream)
Expand Down Expand Up @@ -947,6 +949,8 @@ config_get_option(struct config_file* cfg, const char* opt,
else O_YNO(opt, "do-ip6", do_ip6)
else O_YNO(opt, "do-udp", do_udp)
else O_YNO(opt, "do-tcp", do_tcp)
else O_YNO(opt, "prefer-ip4", prefer_ip4)
else O_YNO(opt, "prefer-ip6", prefer_ip6)
else O_YNO(opt, "tcp-upstream", tcp_upstream)
else O_YNO(opt, "udp-upstream-without-downstream", udp_upstream_without_downstream)
else O_DEC(opt, "tcp-mss", tcp_mss)
Expand Down

0 comments on commit 2541ccb

Please sign in to comment.