!83 [sync] PR-82: remove useless patch

From: @openeuler-sync-bot 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2023-05-04 01:27:31 +00:00 committed by Gitee
commit 10f47176c2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 8 additions and 28 deletions

View File

@ -1,26 +0,0 @@
From bea12dc31409180f6cb3a0578c2340c0116ef003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
Date: Fri, 2 Jul 2021 10:03:47 +0200
Subject: [PATCH] Modify and propagate changed lease
If hostname is reset on existing lease, propagate such change to leases
file and script.
---
src/lease.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lease.c b/src/lease.c
index b56647d..1a9f1c6 100644
--- a/src/lease.c
+++ b/src/lease.c
@@ -1021,6 +1021,7 @@ void lease_set_hostname(struct dhcp_lease *lease, const char *name, int auth, ch
}
kill_name(lease_tmp);
+ lease_tmp->flags |= LEASE_CHANGED; /* run script on change */
break;
}
}
--
2.31.1

View File

@ -1,6 +1,6 @@
Name: dnsmasq
Version: 2.86
Release: 5
Release: 6
Summary: Dnsmasq provides network infrastructure for small networks
License: GPLv2 or GPLv3
URL: http://www.thekelleys.org.uk/dnsmasq/
@ -135,7 +135,13 @@ install -Dpm644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysusersdir}/dnsmasq.conf
%{_mandir}/man8/dnsmasq*
%changelog
* Tue Mar 28 2023 renmingshuai <renmingshuai@huawei.com> - 2.88-5
* Thu Apr 27 2023 yanglu <yanglu72@h-partners.com> - 2.86-6
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:remove useless patch
* Tue Mar 28 2023 renmingshuai <renmingshuai@huawei.com> - 2.86-5
- Type:bugfix
- Id:NA
- SUG:NA