aboutsummaryrefslogtreecommitdiffstats
path: root/network_cmds/ndp.tproj
diff options
context:
space:
mode:
Diffstat (limited to 'network_cmds/ndp.tproj')
-rw-r--r--network_cmds/ndp.tproj/Makefile6
-rw-r--r--network_cmds/ndp.tproj/ndp.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/network_cmds/ndp.tproj/Makefile b/network_cmds/ndp.tproj/Makefile
new file mode 100644
index 0000000..5eb750d
--- /dev/null
+++ b/network_cmds/ndp.tproj/Makefile
@@ -0,0 +1,6 @@
+PROG= ndp
+MAN= ndp.8
+
+BINDIR=/usr/sbin
+
+.include <bsd.prog.mk>
diff --git a/network_cmds/ndp.tproj/ndp.c b/network_cmds/ndp.tproj/ndp.c
index b485fa1..e3e51b8 100644
--- a/network_cmds/ndp.tproj/ndp.c
+++ b/network_cmds/ndp.tproj/ndp.c
@@ -443,7 +443,9 @@ set(int argc, char **argv)
!(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) {
case IFT_ETHER: case IFT_FDDI: case IFT_ISO88023:
case IFT_ISO88024: case IFT_ISO88025:
+#if defined(IFT_6LOWPAN)
case IFT_6LOWPAN:
+#endif
goto overwrite;
}
/*