Fix issue in systemd patch (#1545946)
This commit is contained in:
parent
c7e3c4ce6a
commit
ccc2ee31bd
|
@ -82,10 +82,10 @@ diff -up net-snmp-5.7.3/agent/snmpd.c.MPGqYh net-snmp-5.7.3/agent/snmpd.c
|
|||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
+#ifndef NETSNMP_NO_SYSYSTEMD
|
||||
+#ifndef NETSNMP_NO_SYSTEMD
|
||||
+ /* check if systemd has sockets for us and don't close them */
|
||||
+ prepared_sockets = netsnmp_sd_listen_fds(0);
|
||||
+#endif /* NETSNMP_NO_SYSYSTEMD */
|
||||
+#endif /* NETSNMP_NO_SYSTEMD */
|
||||
+
|
||||
/*
|
||||
* close all non-standard file descriptors we may have
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
Summary: A collection of SNMP protocol tools and libraries
|
||||
Name: net-snmp
|
||||
Version: 5.7.3
|
||||
Release: 25%{?dist}
|
||||
Release: 26%{?dist}
|
||||
Epoch: 1
|
||||
|
||||
License: BSD
|
||||
|
@ -553,6 +553,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Feb 16 2018 Josef Ridky <jridky@redhat.com> - 1:5.7.3-26
|
||||
- Fix issue in systemd patch (#1545946)
|
||||
|
||||
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 1:5.7.3-25
|
||||
- Rebuilt after RPM update (№ 3)
|
||||
|
||||
|
|
Loading…
Reference in New Issue