summaryrefslogtreecommitdiffstats
path: root/lib/ipv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ipv4.c')
-rw-r--r--lib/ipv4.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ipv4.c b/lib/ipv4.c
index 52f5b0b..cc67373 100644
--- a/lib/ipv4.c
+++ b/lib/ipv4.c
@@ -6,6 +6,8 @@
* Can be freely distributed and used under the terms of the GNU GPL.
*/
+#ifndef IPV6
+
#include "nest/bird.h"
#include "lib/ip.h"
@@ -27,3 +29,5 @@ ipv4_classify(u32 a)
return IADDR_BROADCAST | SCOPE_LINK;
return IADDR_INVALID;
}
+
+#endif