Blame SOURCES/dhcp-no-subnet-error2info.patch

26a25c
diff -up dhcp-4.3.0a1/common/discover.c.error2info dhcp-4.3.0a1/common/discover.c
26a25c
--- dhcp-4.3.0a1/common/discover.c.error2info	2013-12-20 13:59:15.148553898 +0100
26a25c
+++ dhcp-4.3.0a1/common/discover.c	2013-12-20 13:59:15.181553438 +0100
26a25c
@@ -779,9 +779,9 @@ discover_interfaces(int state) {
26a25c
 
26a25c
 		/* We must have a subnet declaration for each interface. */
26a25c
 		if (!tmp->shared_network && (state == DISCOVER_SERVER)) {
26a25c
-			log_error("%s", "");
26a25c
+			log_info("%s", "");
26a25c
 			if (local_family == AF_INET) {
26a25c
-				log_error("No subnet declaration for %s (%s).",
26a25c
+				log_info("No subnet declaration for %s (%s).",
26a25c
 					  tmp->name, 
26a25c
 					  (tmp->addresses == NULL) ?
26a25c
 					   "no IPv4 addresses" :
26a25c
@@ -796,26 +796,26 @@ discover_interfaces(int state) {
26a25c
 				} else {
26a25c
 					strcpy(abuf, "no IPv6 addresses");
26a25c
 				}
26a25c
-				log_error("No subnet6 declaration for %s (%s).",
26a25c
+				log_info("No subnet6 declaration for %s (%s).",
26a25c
 					  tmp->name,
26a25c
 					  abuf);
26a25c
 #endif /* DHCPv6 */
26a25c
 			}
26a25c
 			if (supports_multiple_interfaces(tmp)) {
26a25c
-				log_error ("** Ignoring requests on %s.  %s",
26a25c
+				log_info ("** Ignoring requests on %s.  %s",
26a25c
 					   tmp -> name, "If this is not what");
26a25c
-				log_error ("   you want, please write %s",
26a25c
+				log_info ("   you want, please write %s",
26a25c
 #ifdef DHCPv6
26a25c
 				           (local_family != AF_INET) ?
26a25c
 					   "a subnet6 declaration" :
26a25c
 #endif
26a25c
 					   "a subnet declaration");
26a25c
-				log_error ("   in your dhcpd.conf file %s",
26a25c
+				log_info ("   in your dhcpd.conf file %s",
26a25c
 					   "for the network segment");
26a25c
-				log_error ("   to %s %s %s",
26a25c
+				log_info ("   to %s %s %s",
26a25c
 					   "which interface",
26a25c
 					   tmp -> name, "is attached. **");
26a25c
-				log_error ("%s", "");
26a25c
+				log_info ("%s", "");
26a25c
 				goto next;
26a25c
 			} else {
26a25c
 				log_error ("You must write a %s",