diff --git a/bugfix-error-message-display.patch b/bugfix-error-message-display.patch new file mode 100644 index 0000000000000000000000000000000000000000..183b27a159c9db8931eaa4b4fd890b6aa7772572 --- /dev/null +++ b/bugfix-error-message-display.patch @@ -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; diff --git a/dhcp.spec b/dhcp.spec index 8f1117b4eeba86cca610cc0302fe97b3b8d5618e..c36400912719dc26bab90d2752d44d501d0acbab 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -3,7 +3,7 @@ Name: dhcp Version: 4.4.2 -Release: 11 +Release: 12 Summary: Dynamic host configuration protocol software #Please don't change the epoch on this package Epoch: 12 @@ -60,6 +60,7 @@ Patch36: fix-multiple-definition-with-gcc-10-2.patch Patch37: fix-coredump-when-client-active-is-NULL.patch Patch38: feature-lease-time-config-ipv6.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: systemd systemd-devel @@ -300,6 +301,12 @@ exit 0 %{_mandir}/man3/omapi.3.gz %changelog +* Tue Feb 22 2022 zengwefeng - 4.4.2-12 +- Type:bugfix +- ID:NA +- SUG:restart +- DESC:fix error message display + * Wed Jan 12 2022 renmingshuai - 4.4.2-11 - Type:bugfix - ID:NA