summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtsold/dump.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-05 10:14:11 +0000
committerkris <kris@FreeBSD.org>2000-07-05 10:14:11 +0000
commite041633352d9b2beac4692186d590f04c5d371ae (patch)
tree933521e8ef29a797fd5d591bc729e73b32014cb4 /usr.sbin/rtsold/dump.c
parentd27de9de37cbb087910ed65fc4953164b8f8cb38 (diff)
downloadFreeBSD-src-e041633352d9b2beac4692186d590f04c5d371ae.zip
FreeBSD-src-e041633352d9b2beac4692186d590f04c5d371ae.tar.gz
Sync with latest KAME.
Obtained from: KAME
Diffstat (limited to 'usr.sbin/rtsold/dump.c')
-rw-r--r--usr.sbin/rtsold/dump.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/rtsold/dump.c b/usr.sbin/rtsold/dump.c
index 1587721..43badd5 100644
--- a/usr.sbin/rtsold/dump.c
+++ b/usr.sbin/rtsold/dump.c
@@ -1,7 +1,7 @@
/*
* Copyright (C) 1999 WIDE Project.
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 3. Neither the name of the project nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -31,7 +31,9 @@
#include <sys/types.h>
#include <sys/time.h>
+#include <sys/socket.h>
+#include <net/if.h>
#include <netinet/in.h>
#include <netinet/icmp6.h>
@@ -47,6 +49,7 @@ static FILE *fp;
extern struct ifinfo *iflist;
+static void dump_interface_status __P((void));
static char *sec2str __P((time_t));
char *ifstatstr[] = {"IDLE", "DELAY", "PROBE", "DOWN", "TENTATIVE"};
OpenPOWER on IntegriCloud