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