summaryrefslogtreecommitdiff
path: root/pimd/pim_addr.h
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_addr.h')
-rw-r--r--pimd/pim_addr.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pimd/pim_addr.h b/pimd/pim_addr.h
index 1e9da77779..a1a8b55a5c 100644
--- a/pimd/pim_addr.h
+++ b/pimd/pim_addr.h
@@ -22,7 +22,11 @@
#include "jhash.h"
-#if PIM_IPV == 4
+/* temporarily disable IPv6 types to keep code compiling.
+ * Defining PIM_V6_TEMP_BREAK will show a lot of compile errors - they are
+ * very useful to see TODOs.
+ */
+#if PIM_IPV == 4 || !defined(PIM_V6_TEMP_BREAK)
typedef struct in_addr pim_addr;
#define PIM_ADDRSTRLEN INET_ADDRSTRLEN
#else