enable irdp
diff --git a/redhat/quagga.spec.in b/redhat/quagga.spec.in
index df25345..f3b87b9 100644
--- a/redhat/quagga.spec.in
+++ b/redhat/quagga.spec.in
@@ -10,6 +10,7 @@
 %define		with_ipv6	1
 %define		with_ospfclient 1
 %define		with_ospfapi	1
+%define		with_irdp	1
 %define		with_multipath	64
 %define		quagga_user	quagga
 %define		vty_group	quaggavty
@@ -127,6 +128,11 @@
 %else
 	--enable-ospfapi=no \
 %endif
+%if %with_irdp
+	--enable-irdp=yes \
+%else
+	--enable-irdp=no \
+%endif
 %if %with_pam
 	--with-libpam \
 %endif