Projects
Mega:23.03
dhcp
_service:tar_scm:backport-0018-No-subnet-declar...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-0018-No-subnet-declaration-for-iface-should-be-info-not-e.patch of Package dhcp
Reference: https://src.fedoraproject.org/rpms/dhcp/blob/rawhide/f/0018-No-subnet-declaration-for-iface-should-be-info-not-e.patch From 840c4f2175d14fa485f2a5e50a005847940b7e1f Mon Sep 17 00:00:00 2001 From: Pavel Zhukov <pzhukov@redhat.com> Date: Thu, 21 Feb 2019 10:40:51 +0100 Subject: [PATCH 18/28] No subnet declaration for <iface>' should be info, not error. --- common/discover.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/common/discover.c b/common/discover.c index e562225..b4b1959 100644 --- a/common/discover.c +++ b/common/discover.c @@ -806,9 +806,9 @@ discover_interfaces(int state) { /* We must have a subnet declaration for each interface. */ if (!tmp->shared_network && (state == DISCOVER_SERVER)) { - log_error("%s", ""); + log_info("%s", ""); if (local_family == AF_INET) { - log_error("No subnet declaration for %s (%s).", + log_info("No subnet declaration for %s (%s).", tmp->name, (tmp->addresses == NULL) ? "no IPv4 addresses" : @@ -823,26 +823,26 @@ discover_interfaces(int state) { } else { strcpy(abuf, "no IPv6 addresses"); } - log_error("No subnet6 declaration for %s (%s).", + log_info("No subnet6 declaration for %s (%s).", tmp->name, abuf); #endif /* DHCPv6 */ } if (supports_multiple_interfaces(tmp)) { - log_error ("** Ignoring requests on %s. %s", + log_info ("** Ignoring requests on %s. %s", tmp -> name, "If this is not what"); - log_error (" you want, please write %s", + log_info (" you want, please write %s", #ifdef DHCPv6 (local_family != AF_INET) ? "a subnet6 declaration" : #endif "a subnet declaration"); - log_error (" in your dhcpd.conf file %s", + log_info (" in your dhcpd.conf file %s", "for the network segment"); - log_error (" to %s %s %s", + log_info (" to %s %s %s", "which interface", tmp -> name, "is attached. **"); - log_error ("%s", ""); + log_info ("%s", ""); goto next; } else { log_error ("You must write a %s", -- 2.35.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2