1 From 840c4f2175d14fa485f2a5e50a005847940b7e1f 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/28] No subnet declaration for <iface>' should be info, not
8 common/discover.c | 16 ++++++++--------
9 1 file changed, 8 insertions(+), 8 deletions(-)
11 diff --git a/common/discover.c b/common/discover.c
12 index e562225..b4b1959 100644
13 --- a/common/discover.c
14 +++ b/common/discover.c
15 @@ -806,9 +806,9 @@ discover_interfaces(int state) {
17 /* We must have a subnet declaration for each interface. */
18 if (!tmp->shared_network && (state == DISCOVER_SERVER)) {
19 - log_error("%s", "");
21 if (local_family == AF_INET) {
22 - log_error("No subnet declaration for %s (%s).",
23 + log_info("No subnet declaration for %s (%s).",
25 (tmp->addresses == NULL) ?
27 @@ -823,26 +823,26 @@ discover_interfaces(int state) {
29 strcpy(abuf, "no IPv6 addresses");
31 - log_error("No subnet6 declaration for %s (%s).",
32 + log_info("No subnet6 declaration for %s (%s).",
37 if (supports_multiple_interfaces(tmp)) {
38 - log_error ("** Ignoring requests on %s. %s",
39 + log_info ("** Ignoring requests on %s. %s",
40 tmp -> name, "If this is not what");
41 - log_error (" you want, please write %s",
42 + log_info (" you want, please write %s",
44 (local_family != AF_INET) ?
45 "a subnet6 declaration" :
47 "a subnet declaration");
48 - log_error (" in your dhcpd.conf file %s",
49 + log_info (" in your dhcpd.conf file %s",
50 "for the network segment");
51 - log_error (" to %s %s %s",
52 + log_info (" to %s %s %s",
54 tmp -> name, "is attached. **");
55 - log_error ("%s", "");
56 + log_info ("%s", "");
59 log_error ("You must write a %s",