summaryrefslogtreecommitdiffstats
path: root/contrib/telnet
diff options
context:
space:
mode:
authornsayer <nsayer@FreeBSD.org>2001-05-16 20:34:42 +0000
committernsayer <nsayer@FreeBSD.org>2001-05-16 20:34:42 +0000
commit295844e3ffd58cd9bc1c7f60f6c3baabbfb206b7 (patch)
treef52e799259c3b2d417b0ee48e11f9fa5da6fbaee /contrib/telnet
parent02a47b1303f5c5b90496f1d36f977c797d9d479b (diff)
downloadFreeBSD-src-295844e3ffd58cd9bc1c7f60f6c3baabbfb206b7.zip
FreeBSD-src-295844e3ffd58cd9bc1c7f60f6c3baabbfb206b7.tar.gz
Since the root-on-insecure-tty code was added to telnetd, a dependency
on char *line was added to libtelnet. Put a dummy one in to keep the linker happy.
Diffstat (limited to 'contrib/telnet')
-rw-r--r--contrib/telnet/telnet/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/telnet/telnet/main.c b/contrib/telnet/telnet/main.c
index b165f4a..30cdb18 100644
--- a/contrib/telnet/telnet/main.c
+++ b/contrib/telnet/telnet/main.c
@@ -78,6 +78,8 @@ char *ipsec_policy_in = NULL;
char *ipsec_policy_out = NULL;
#endif
+char *line; /* the telnetd side of libtelnet needs this */
+
int family = AF_UNSPEC;
/*
OpenPOWER on IntegriCloud