summaryrefslogtreecommitdiffstats
path: root/pimd/subdir.am
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-01-10 09:40:50 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-01-12 18:24:07 +0100
commitbedc005a7ae9fd9e087f69a55f30daf47ff9d4a9 (patch)
tree197cbed4a48907cda158a169820022d5a380e413 /pimd/subdir.am
parentpimd: abstract addresses for IPv4/IPv6 PIM (diff)
downloadfrr-bedc005a7ae9fd9e087f69a55f30daf47ff9d4a9.tar.xz
frr-bedc005a7ae9fd9e087f69a55f30daf47ff9d4a9.zip
pimd: temporarily disable IPv6 types
Just putting the infrastructure in place and having it disabled is actually good progress here; have the compiler make itself useful and tell us what we have to do to get the basics right. (The next commit will cause a *lot* of compile errors as soon as `PIM_V6_TEMP_BREAK` is set; but there is no reason to force everything into a single step here.) To enable `pim_addr = in6_addr`, run `make PIM_V6_TEMP_BREAK=1` (remove previous compile results with `rm pimd/pim6d-*.o`) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/subdir.am')
-rw-r--r--pimd/subdir.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/subdir.am b/pimd/subdir.am
index 355389ed7..ff20164c0 100644
--- a/pimd/subdir.am
+++ b/pimd/subdir.am
@@ -158,7 +158,7 @@ if DEV_BUILD
# (change noinst_ to sbin_ below to install it.)
#
noinst_PROGRAMS += pimd/pim6d
-pimd_pim6d_CFLAGS = $(AM_CFLAGS) -DPIM_IPV=6
+pimd_pim6d_CFLAGS = $(AM_CFLAGS) -DPIM_IPV=6 $(and $(PIM_V6_TEMP_BREAK),-DPIM_V6_TEMP_BREAK)
pimd_pim6d_LDADD = lib/libfrr.la $(LIBCAP)
endif
endif