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

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