0031-Fix-missing-braces-in-8eac67c0a15b673c8d27002c248651.patch 844 B

12345678910111213141516171819202122232425262728
  1. From d2d49907435433001ab00698a3e9ca2a7b5b3236 Mon Sep 17 00:00:00 2001
  2. From: Steven Siloti <ssiloti@gmail.com>
  3. Date: Thu, 17 Jan 2019 22:52:13 +0000
  4. Subject: [PATCH 31/32] Fix missing braces in
  5. 8eac67c0a15b673c8d27002c248651b308093e4
  6. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
  7. ---
  8. src/dhcp-common.c | 2 ++
  9. 1 file changed, 2 insertions(+)
  10. --- a/src/dhcp-common.c
  11. +++ b/src/dhcp-common.c
  12. @@ -371,12 +371,14 @@ void dhcp_update_configs(struct dhcp_con
  13. int prot = AF_INET;
  14. for (config = configs; config; config = config->next)
  15. + {
  16. if (config->flags & CONFIG_ADDR_HOSTS)
  17. config->flags &= ~(CONFIG_ADDR | CONFIG_ADDR_HOSTS);
  18. #ifdef HAVE_DHCP6
  19. if (config->flags & CONFIG_ADDR6_HOSTS)
  20. config->flags &= ~(CONFIG_ADDR6 | CONFIG_ADDR6_HOSTS);
  21. #endif
  22. + }
  23. #ifdef HAVE_DHCP6
  24. again: