From 9e631cc410c307d2f75b54445c044749f526144d Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Tue, 27 Jun 2017 19:09:59 -0700 Subject: [PATCH] redhat: Fix fallout from PR722 (accidently disabled PIMd on non-Redhat systems) Signed-off-by: Martin Winter --- redhat/frr.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 85da58f4d..8c555a3c4 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -67,8 +67,8 @@ #### Check for RedHat 6.x or CentOS 6.x - they are too old to support PIM. #### Always disable it on these old systems unconditionally # -# if CentOS 6 / RedHat 6, then disable PIMd -%if 0%{?rhel} < 7 +# if CentOS / RedHat and version < 7, then disable PIMd (too old, won't work) +%if 0%{?rhel} && 0%{?rhel} < 7 %global with_pimd 0 %endif -- 2.39.2