fix error message display
This commit is contained in:
parent
174b1aced9
commit
0247b1e42f
12
bugfix-error-message-display.patch
Normal file
12
bugfix-error-message-display.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ruNa dhcp-4.4.2-org/omapip/errwarn.c dhcp-4.4.2/omapip/errwarn.c
|
||||
--- dhcp-4.4.2-org/omapip/errwarn.c 16:51:13.626927174 +0800
|
||||
+++ dhcp-4.4.2/omapip/errwarn.c 16:55:40.477496361 +0800
|
||||
@@ -57,7 +57,7 @@
|
||||
size_t url_len = 256;
|
||||
|
||||
url = (char *) malloc(url_len * sizeof(char));
|
||||
- strcpy(url, "https://bugzilla.redhat.com/");
|
||||
+ strcpy(url, "https://gitee.com/src-openeuler/dhcp/issues");
|
||||
|
||||
if (!file)
|
||||
return url;
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
Name: dhcp
|
||||
Version: 4.4.2
|
||||
Release: 10
|
||||
Release: 11
|
||||
Summary: Dynamic host configuration protocol software
|
||||
#Please don't change the epoch on this package
|
||||
Epoch: 12
|
||||
@ -57,6 +57,7 @@ Patch35: backport-CVE-2021-25217.patch
|
||||
Patch36: fix-multiple-definition-with-gcc-10-1.patch
|
||||
Patch37: fix-multiple-definition-with-gcc-10-2.patch
|
||||
Patch38: fix-coredump-when-client-active-is-NULL.patch
|
||||
Patch39: bugfix-error-message-display.patch
|
||||
|
||||
BuildRequires: gcc autoconf automake libtool openldap-devel krb5-devel libcap-ng-devel
|
||||
BuildRequires: systemd systemd-devel
|
||||
@ -295,6 +296,12 @@ exit 0
|
||||
%{_mandir}/man3/omapi.3.gz
|
||||
|
||||
%changelog
|
||||
* Tue Feb 8 2022 renmingshuai <renmingshuai@huawei.com> - 4.4.2-11
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:restart
|
||||
- DESC:fix error message display
|
||||
|
||||
* Mon Feb 7 2022 renmingshuai <renmingshuai@huawei.com> - 4.4.2-10
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user