1 From 588ead2d9a9cfe70f14569a8e950c6c42f15c1e3 Mon Sep 17 00:00:00 2001
2 From: Pavel Zhukov <pzhukov@redhat.com>
3 Date: Thu, 21 Feb 2019 10:40:51 +0100
4 Subject: [PATCH 18/21] No subnet declaration for <iface>' should be info, not
9 common/discover.c | 16 ++++++++--------
10 1 file changed, 8 insertions(+), 8 deletions(-)
12 diff --git a/common/discover.c b/common/discover.c
13 index 65881fc..056342c 100644
14 --- a/common/discover.c
15 +++ b/common/discover.c
16 @@ -801,9 +801,9 @@ discover_interfaces(int state) {
18 /* We must have a subnet declaration for each interface. */
19 if (!tmp->shared_network && (state == DISCOVER_SERVER)) {
20 - log_error("%s", "");
22 if (local_family == AF_INET) {
23 - log_error("No subnet declaration for %s (%s).",
24 + log_info("No subnet declaration for %s (%s).",
26 (tmp->addresses == NULL) ?
28 @@ -818,26 +818,26 @@ discover_interfaces(int state) {
30 strcpy(abuf, "no IPv6 addresses");
32 - log_error("No subnet6 declaration for %s (%s).",
33 + log_info("No subnet6 declaration for %s (%s).",
38 if (supports_multiple_interfaces(tmp)) {
39 - log_error ("** Ignoring requests on %s. %s",
40 + log_info ("** Ignoring requests on %s. %s",
41 tmp -> name, "If this is not what");
42 - log_error (" you want, please write %s",
43 + log_info (" you want, please write %s",
45 (local_family != AF_INET) ?
46 "a subnet6 declaration" :
48 "a subnet declaration");
49 - log_error (" in your dhcpd.conf file %s",
50 + log_info (" in your dhcpd.conf file %s",
51 "for the network segment");
52 - log_error (" to %s %s %s",
53 + log_info (" to %s %s %s",
55 tmp -> name, "is attached. **");
56 - log_error ("%s", "");
57 + log_info ("%s", "");
60 log_error ("You must write a %s",