]>
Commit | Line | Data |
---|---|---|
530cba5e SS |
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 | |
5 | error. | |
6 | Cc: pzhukov@redhat.com | |
7 | ||
8 | --- | |
9 | common/discover.c | 16 ++++++++-------- | |
10 | 1 file changed, 8 insertions(+), 8 deletions(-) | |
11 | ||
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) { | |
17 | ||
18 | /* We must have a subnet declaration for each interface. */ | |
19 | if (!tmp->shared_network && (state == DISCOVER_SERVER)) { | |
20 | - log_error("%s", ""); | |
21 | + log_info("%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).", | |
25 | tmp->name, | |
26 | (tmp->addresses == NULL) ? | |
27 | "no IPv4 addresses" : | |
28 | @@ -818,26 +818,26 @@ discover_interfaces(int state) { | |
29 | } else { | |
30 | strcpy(abuf, "no IPv6 addresses"); | |
31 | } | |
32 | - log_error("No subnet6 declaration for %s (%s).", | |
33 | + log_info("No subnet6 declaration for %s (%s).", | |
34 | tmp->name, | |
35 | abuf); | |
36 | #endif /* DHCPv6 */ | |
37 | } | |
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", | |
44 | #ifdef DHCPv6 | |
45 | (local_family != AF_INET) ? | |
46 | "a subnet6 declaration" : | |
47 | #endif | |
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", | |
54 | "which interface", | |
55 | tmp -> name, "is attached. **"); | |
56 | - log_error ("%s", ""); | |
57 | + log_info ("%s", ""); | |
58 | goto next; | |
59 | } else { | |
60 | log_error ("You must write a %s", | |
61 | -- | |
62 | 2.14.5 |