summaryrefslogtreecommitdiff
path: root/lib/prefix.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-01-13 15:14:16 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-01-17 14:19:11 +0100
commita6751e2318c7dd0d754a427999e23b93c96388ca (patch)
tree14cca00e70bbd46a0819b2a33a51c6ea93c3bc41 /lib/prefix.h
parent3ca68c9cf3fa08979d73fb34cadc83c18d1d2106 (diff)
pimd: add more dual-family address bits
Another few definitions to aid in dealing with IPv4 and IPv6. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/prefix.h')
-rw-r--r--lib/prefix.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/prefix.h b/lib/prefix.h
index f2773240d2..b3545a72b4 100644
--- a/lib/prefix.h
+++ b/lib/prefix.h
@@ -341,9 +341,6 @@ union prefixconstptr {
prefixtype(prefixconstptr, const struct prefix_rd, rd)
} TRANSPARENT_UNION;
-#undef prefixtype
-#undef TRANSPARENT_UNION
-
#ifndef INET_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
#endif /* INET_ADDRSTRLEN */