fix error message display

This commit is contained in:
zengwefeng 2022-02-22 11:51:35 +08:00
parent 8e120f19bf
commit da43abf26c
2 changed files with 20 additions and 1 deletions

View 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;

View File

@ -3,7 +3,7 @@
Name: dhcp Name: dhcp
Version: 4.4.2 Version: 4.4.2
Release: 11 Release: 12
Summary: Dynamic host configuration protocol software Summary: Dynamic host configuration protocol software
#Please don't change the epoch on this package #Please don't change the epoch on this package
Epoch: 12 Epoch: 12
@ -60,6 +60,7 @@ Patch36: fix-multiple-definition-with-gcc-10-2.patch
Patch37: fix-coredump-when-client-active-is-NULL.patch Patch37: fix-coredump-when-client-active-is-NULL.patch
Patch38: feature-lease-time-config-ipv6.patch Patch38: feature-lease-time-config-ipv6.patch
Patch39: add-a-test-case-to-parse-code93-in-option_unittest.patch Patch39: add-a-test-case-to-parse-code93-in-option_unittest.patch
Patch40: bugfix-error-message-display.patch
BuildRequires: gcc autoconf automake libtool openldap-devel krb5-devel libcap-ng-devel BuildRequires: gcc autoconf automake libtool openldap-devel krb5-devel libcap-ng-devel
BuildRequires: systemd systemd-devel BuildRequires: systemd systemd-devel
@ -300,6 +301,12 @@ exit 0
%{_mandir}/man3/omapi.3.gz %{_mandir}/man3/omapi.3.gz
%changelog %changelog
* Tue Feb 22 2022 zengwefeng <zwfeng@huawei.com> - 4.4.2-12
- Type:bugfix
- ID:NA
- SUG:restart
- DESC:fix error message display
* Wed Jan 12 2022 renmingshuai <renmingshuai@huawei.com> - 4.4.2-11 * Wed Jan 12 2022 renmingshuai <renmingshuai@huawei.com> - 4.4.2-11
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA