From c42e3e6123e5eac73bd8718b0ea3fc34a90d1803 Mon Sep 17 00:00:00 2001 From: Davide Caratti Date: Thu, 30 Sep 2021 10:30:05 +0200 Subject: [PATCH] fix addr_adv plugin defaults Signed-off-by: Davide Caratti --- mptcpd.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mptcpd.spec b/mptcpd.spec index fe8fa1a..ab6b659 100644 --- a/mptcpd.spec +++ b/mptcpd.spec @@ -1,7 +1,7 @@ Summary: Multipath TCP daemon Name: mptcpd Version: 0.8 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD URL: https://multipath-tcp.org Requires(post): systemd @@ -52,6 +52,8 @@ install -d %{buildroot}/%{_unitdir} install -d %{buildroot}/%{_libdir}/%{name} install -d %{buildroot}/%{_includedir}/%{name} %make_install +sed -i '/^# addr-flags=subflow/s/^# //g' %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf +sed -i '/^# notify-flags=existing,skip_link_local,skip_loopback/s/^# //g' %{buildroot}/%{_sysconfdir}/%{name}/%{name}.conf find %{buildroot} -name '*.la' -exec rm -f {} ';' %post -p /sbin/ldconfig @@ -82,6 +84,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/pkgconfig/mptcpd.pc %changelog +* Thu Sep 30 2021 Davide Caratti - 0.8-2 +- fix addr_adv plugin defaults + * Mon Sep 27 2021 Davide Caratti - 0.8-1 - update to version 0.8