Blame SOURCES/0018-No-subnet-declaration-for-iface-should-be-info-not-e.patch

f9ed25
From 2277d041692b8ebdf6b86d41e3a0bc0381cd1e47 Mon Sep 17 00:00:00 2001
f9ed25
From: Pavel Zhukov <pzhukov@redhat.com>
f9ed25
Date: Thu, 21 Feb 2019 10:40:51 +0100
f9ed25
Subject: [PATCH 18/26] No subnet declaration for <iface>' should be info, not
f9ed25
 error.
f9ed25
Cc: pzhukov@redhat.com
f9ed25
f9ed25
---
f9ed25
 common/discover.c | 16 ++++++++--------
f9ed25
 1 file changed, 8 insertions(+), 8 deletions(-)
f9ed25
f9ed25
diff --git a/common/discover.c b/common/discover.c
f9ed25
index 65881fc..056342c 100644
f9ed25
--- a/common/discover.c
f9ed25
+++ b/common/discover.c
f9ed25
@@ -801,9 +801,9 @@ discover_interfaces(int state) {
f9ed25
 
f9ed25
 		/* We must have a subnet declaration for each interface. */
f9ed25
 		if (!tmp->shared_network && (state == DISCOVER_SERVER)) {
f9ed25
-			log_error("%s", "");
f9ed25
+			log_info("%s", "");
f9ed25
 			if (local_family == AF_INET) {
f9ed25
-				log_error("No subnet declaration for %s (%s).",
f9ed25
+				log_info("No subnet declaration for %s (%s).",
f9ed25
 					  tmp->name, 
f9ed25
 					  (tmp->addresses == NULL) ?
f9ed25
 					   "no IPv4 addresses" :
f9ed25
@@ -818,26 +818,26 @@ discover_interfaces(int state) {
f9ed25
 				} else {
f9ed25
 					strcpy(abuf, "no IPv6 addresses");
f9ed25
 				}
f9ed25
-				log_error("No subnet6 declaration for %s (%s).",
f9ed25
+				log_info("No subnet6 declaration for %s (%s).",
f9ed25
 					  tmp->name,
f9ed25
 					  abuf);
f9ed25
 #endif /* DHCPv6 */
f9ed25
 			}
f9ed25
 			if (supports_multiple_interfaces(tmp)) {
f9ed25
-				log_error ("** Ignoring requests on %s.  %s",
f9ed25
+				log_info ("** Ignoring requests on %s.  %s",
f9ed25
 					   tmp -> name, "If this is not what");
f9ed25
-				log_error ("   you want, please write %s",
f9ed25
+				log_info ("   you want, please write %s",
f9ed25
 #ifdef DHCPv6
f9ed25
 				           (local_family != AF_INET) ?
f9ed25
 					   "a subnet6 declaration" :
f9ed25
 #endif
f9ed25
 					   "a subnet declaration");
f9ed25
-				log_error ("   in your dhcpd.conf file %s",
f9ed25
+				log_info ("   in your dhcpd.conf file %s",
f9ed25
 					   "for the network segment");
f9ed25
-				log_error ("   to %s %s %s",
f9ed25
+				log_info ("   to %s %s %s",
f9ed25
 					   "which interface",
f9ed25
 					   tmp -> name, "is attached. **");
f9ed25
-				log_error ("%s", "");
f9ed25
+				log_info ("%s", "");
f9ed25
 				goto next;
f9ed25
 			} else {
f9ed25
 				log_error ("You must write a %s",
f9ed25
-- 
f9ed25
2.14.5
f9ed25