aboutsummaryrefslogtreecommitdiff
path: root/sbin/ip6fw/ip6fw.c
diff options
context:
space:
mode:
authorJohan Karlsson <johan@FreeBSD.org>2004-03-03 20:21:15 +0000
committerJohan Karlsson <johan@FreeBSD.org>2004-03-03 20:21:15 +0000
commit496ba967aef04554bd0e798f5a7af3d593659b29 (patch)
tree4a7675dffd4c02951ef9a90b227732eadd07142a /sbin/ip6fw/ip6fw.c
parent2c7b777c65dda903923b100d683187b8ca53d495 (diff)
Notes
Diffstat (limited to 'sbin/ip6fw/ip6fw.c')
-rw-r--r--sbin/ip6fw/ip6fw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/ip6fw/ip6fw.c b/sbin/ip6fw/ip6fw.c
index 4946d77c9942..6c80b0800ada 100644
--- a/sbin/ip6fw/ip6fw.c
+++ b/sbin/ip6fw/ip6fw.c
@@ -68,6 +68,7 @@
#include <stdarg.h>
#include <string.h>
#include <time.h>
+#include <timeconv.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
@@ -839,8 +840,6 @@ fill_iface(char *which, union ip6_fw_if *ifu, int *byname, int ac, char *arg)
ifu->fu_via_ip6 = in6addr_any;
*byname = 0;
} else if (!isdigit(*arg)) {
- char *q;
-
*byname = 1;
strlcpy(ifu->fu_via_if.name, arg, sizeof(ifu->fu_via_if.name));
/*