aboutsummaryrefslogtreecommitdiff
path: root/inet/tst-ipnode.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/tst-ipnode.c')
-rw-r--r--inet/tst-ipnode.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/inet/tst-ipnode.c b/inet/tst-ipnode.c
deleted file mode 100644
index b4b4dfa33d..0000000000
--- a/inet/tst-ipnode.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <netdb.h>
-#include <stdio.h>
-#include <netinet/in.h>
-
-/* The unspecified IPv6 address. */
-struct in6_addr anyv6 = IN6ADDR_ANY_INIT;
-
-int
-main (void)
-{
- int errors = 0;
- int errval;
-
- /* Test the unspecifed IPv6 address. */
- errval = 0x3453456;
- if (getipnodebyaddr ((char *) &anyv6, sizeof (anyv6), AF_INET6, &errval)
- != NULL
- || errval != HOST_NOT_FOUND)
- {
- puts ("getipnodenyaddr(in6addr_any,...) != NULL");
- ++errors;
- }
-
- return errors != 0;
-}