From 3cf90fb646186e140bc970549b2b667f509bd5ff Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Wed, 24 Jan 2024 05:11:07 +0200 Subject: [PATCH] zebra, build: disable irdp by default IRDP client (rdisc) was deleted from iputils more than 2 years ago. It's time to drop IRDP, but first let's stop building it by default. Signed-off-by: Igor Ryzhov --- configure.ac | 5 ++++- debian/frr.install | 1 - doc/user/installation.rst | 5 ++--- redhat/frr.spec.in | 2 -- snapcraft/snapcraft.yaml.in | 1 - 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 174090d3a9d9..468bc0fc6755 100644 --- a/configure.ac +++ b/configure.ac @@ -716,7 +716,7 @@ AC_ARG_ENABLE([realms], AC_ARG_ENABLE([rtadv], AS_HELP_STRING([--disable-rtadv], [disable IPV6 router advertisement feature])) AC_ARG_ENABLE([irdp], - AS_HELP_STRING([--disable-irdp], [disable IRDP server support in zebra (enabled by default if supported)])) + AS_HELP_STRING([--enable-irdp], [enable IRDP server support in zebra])) AC_ARG_ENABLE([capabilities], AS_HELP_STRING([--disable-capabilities], [disable using POSIX capabilities])) AC_ARG_ENABLE([gcc_ultra_verbose], @@ -2261,6 +2261,9 @@ yes) no) IRDP=false ;; +*) + IRDP=false + ;; esac diff --git a/debian/frr.install b/debian/frr.install index 02912d448dee..d4b904b6e3f0 100644 --- a/debian/frr.install +++ b/debian/frr.install @@ -13,7 +13,6 @@ usr/lib/*/frr/modules/bgpd_bmp.so usr/lib/*/frr/modules/dplane_fpm_nl.so usr/lib/*/frr/modules/zebra_cumulus_mlag.so usr/lib/*/frr/modules/zebra_fpm.so -usr/lib/*/frr/modules/zebra_irdp.so usr/lib/*/frr/modules/pathd_pcep.so usr/lib/frr/*.sh usr/lib/frr/*d diff --git a/doc/user/installation.rst b/doc/user/installation.rst index 24c6c223e3e1..2a3b943d8123 100644 --- a/doc/user/installation.rst +++ b/doc/user/installation.rst @@ -234,10 +234,9 @@ options from the list below. assigned to the realm. See the tc man page. This option is currently not compatible with the usage of nexthop groups in the linux kernel itself. -.. option:: --disable-irdp +.. option:: --enable-irdp - Disable IRDP server support. This is enabled by default if we have - both `struct in_pktinfo` and `struct icmphdr` available to us. + Enable IRDP server support. This is deprecated. .. option:: --disable-rtadv diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index c2391206b7cc..7bf05d058939 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -321,7 +321,6 @@ routing state through standard SNMP MIBs. --localstatedir=%{rundir} \ --disable-static \ --disable-werror \ - --enable-irdp \ %if %{with_multipath} --enable-multipath=%{with_multipath} \ %endif @@ -716,7 +715,6 @@ fi %endif %{_libdir}/frr/modules/zebra_cumulus_mlag.so %{_libdir}/frr/modules/dplane_fpm_nl.so -%{_libdir}/frr/modules/zebra_irdp.so %{_libdir}/frr/modules/bgpd_bmp.so %{_libdir}/libfrr_pb.so* %{_libdir}/libfrrfpm_pb.so* diff --git a/snapcraft/snapcraft.yaml.in b/snapcraft/snapcraft.yaml.in index 607cbc7fe3c2..c10ea76126f3 100644 --- a/snapcraft/snapcraft.yaml.in +++ b/snapcraft/snapcraft.yaml.in @@ -369,7 +369,6 @@ parts: - --enable-ospfapi=yes - --enable-multipath=64 - --enable-rtadv - - --enable-irdp - --enable-user=root - --enable-group=root - --enable-pimd