]> git.puffer.fish Git - mirror/frr.git/commitdiff
babeld/eigrpd: flip VTY ports & fix rpm 624/head
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 13 Jun 2017 12:36:55 +0000 (14:36 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 13 Jun 2017 12:36:55 +0000 (14:36 +0200)
babeld was 2609 previously, and this was still marked in SERVICES.
Let's flip it back before we have a release out with it.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
SERVICES
babeld/babeld.h
eigrpd/eigrp_const.h
redhat/frr.spec.in

index 50c79391d7e3c5b76c361952d28aac18d424d10a..f7f92a736b69170c2f77aa6c7bd2e134e2ec9506 100644 (file)
--- a/SERVICES
+++ b/SERVICES
@@ -17,7 +17,8 @@ bgpd          2605/tcp
 ospf6d         2606/tcp
 ospfapi                2607/tcp
 isisd          2608/tcp
-# babeld       2609/tcp
+babeld         2609/tcp
 nhrpd          2610/tcp
 pimd           2611/tcp
 ldpd           2612/tcp
+eigrpd         2613/tcp
index 4dd9ebe785636a60943e7e6d7ed925889b2d50f9..d933f1880554ee8bbf6d1888d7f471693d256f73 100644 (file)
@@ -88,7 +88,7 @@ THE SOFTWARE.
 #endif
 
 
-#define BABEL_VTY_PORT 2613
+#define BABEL_VTY_PORT 2609
 #define BABEL_DEFAULT_CONFIG "babeld.conf"
 #define BABEL_VERSION "0.1 for quagga"
 
index 6673b3a334f8aecd00821c8c6ef552b6c8c4b2b0..8133587579f13d96610076001187ca187f9e015e 100644 (file)
@@ -81,7 +81,7 @@
 #define EIGRP_IP_TTL             1
 
 /* VTY port number. */
-#define EIGRP_VTY_PORT          2609
+#define EIGRP_VTY_PORT          2613
 
 /* Default configuration file name for eigrp. */
 #define EIGRP_DEFAULT_CONFIG   "eigrpd.conf"
index fea80d7f72093d02222bfa0300a6914f8ecc4fcc..71ee307c966545509e57a52411630c1afd79cb86 100644 (file)
@@ -19,6 +19,7 @@
 %{!?with_ldpd:          %global  with_ldpd          1 }
 %{!?with_nhrpd:         %global  with_nhrpd         1 }
 %{!?with_eigrpd:        %global  with_eigrpd        1 }
+%{!?with_babeld:        %global  with_babeld        1 }
 %{!?with_shared:        %global  with_shared        1 }
 %{!?with_multipath:     %global  with_multipath     256 }
 %{!?frr_user:           %global  frr_user           frr }
 %define                daemon_eigrpd   ""
 %endif
 
+%if %{with_babeld}
+%define         daemon_babeld  babeld
+%else
+%define                daemon_babeld   ""
+%endif
+
 %if %{with_watchfrr}
 %define     daemon_watchfrr watchfrr
 %else
 %define     daemon_watchfrr ""
 %endif
 
-%define     all_daemons %{daemon_list} %{daemon_ldpd} %{daemon_pimd} %{daemon_nhrpd} %{daemon_eigrpd} %{daemon_watchfrr}
+%define     all_daemons %{daemon_list} %{daemon_ldpd} %{daemon_pimd} %{daemon_nhrpd} %{daemon_eigrpd} %{daemon_babeld} %{daemon_watchfrr}
 
 # allow build dir to be kept
 %{!?keep_build:         %global  keep_build         0 }
@@ -261,6 +268,11 @@ developing OSPF-API and frr applications.
 %else
        --disable-eigrpd \
 %endif
+%if %{with_babeld}
+       --enable-babeld \
+%else
+       --disable-babeld \
+%endif
 %if %{with_pam}
     --with-libpam \
 %endif
@@ -382,8 +394,8 @@ zebra_spec_add_service ospf6d   2606/tcp "OSPF6d vty"
 zebra_spec_add_service ospfapi  2607/tcp "OSPF-API"
 %endif
 zebra_spec_add_service isisd    2608/tcp "ISISd vty"
-%if %{with_eigrpd}
-zebra_spec_add_service eigrpd   2609/tcp "EIGRPd vty"
+%if %{with_babeld}
+zebra_spec_add_service babeld   2609/tcp "BABELd vty"
 %endif
 %if %{with_nhrpd}
 zebra_spec_add_service nhrpd    2610/tcp "NHRPd vty"
@@ -394,6 +406,9 @@ zebra_spec_add_service pimd     2611/tcp "PIMd vty"
 %if %{with_ldpd}
 zebra_spec_add_service ldpd     2612/tcp "LDPd vty"
 %endif
+%if %{with_eigrpd}
+zebra_spec_add_service eigrpd   2613/tcp "EIGRPd vty"
+%endif
 
 %if "%{initsystem}" == "systemd"
 for daemon in %all_daemons ; do
@@ -532,6 +547,9 @@ rm -rf %{buildroot}
 %if %{with_nhrpd}
     %{_sbindir}/nhrpd
 %endif
+%if %{with_babeld}
+    %{_sbindir}/babeld
+%endif
 %if %{with_shared}
 %{_libdir}/lib*.so
 %{_libdir}/lib*.so.0