]> git.proxmox.com Git - mirror_frr.git/commitdiff
redhat: Fix fallout from PR722 (accidently disabled PIMd on non-Redhat systems)
authorMartin Winter <mwinter@opensourcerouting.org>
Wed, 28 Jun 2017 02:09:59 +0000 (19:09 -0700)
committerMartin Winter <mwinter@opensourcerouting.org>
Wed, 28 Jun 2017 02:09:59 +0000 (19:09 -0700)
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
redhat/frr.spec.in

index 85da58f4d272dda4756b261d7554d50fe8510310..8c555a3c421f0919f4fe7675abd0ec6a8d607329 100644 (file)
@@ -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