summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-08-04 00:12:08 +0000
committerache <ache@FreeBSD.org>1995-08-04 00:12:08 +0000
commit25dcf9aae3939e8f97268af082afe93ddecda5ad (patch)
treebd7433a19ad7c8d2b60b834e25c96f65decbbeff /secure
parentdf028cd614a4829b79141195757e346212208afb (diff)
downloadFreeBSD-src-25dcf9aae3939e8f97268af082afe93ddecda5ad.zip
FreeBSD-src-25dcf9aae3939e8f97268af082afe93ddecda5ad.tar.gz
Change default banner to FreeBSD, properly ifdefed by __FreeBSD__
Reviewed by: Submitted by: Obtained from:
Diffstat (limited to 'secure')
-rw-r--r--secure/libexec/telnetd/ext.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/secure/libexec/telnetd/ext.h b/secure/libexec/telnetd/ext.h
index 19bc0d6..3884289 100644
--- a/secure/libexec/telnetd/ext.h
+++ b/secure/libexec/telnetd/ext.h
@@ -233,7 +233,11 @@ extern int needtermstat;
# ifdef ultrix
# define DEFAULT_IM "\r\n\r\nULTRIX (%h) (%t)\r\n\r\r\n\r"
# else
-# define DEFAULT_IM "\r\n\r\n4.4 BSD UNIX (%h) (%t)\r\n\r\r\n\r"
+# ifdef __FreeBSD__
+# define DEFAULT_IM "\r\n\r\nFreeBSD (%h) (%t)\r\n\r\r\n\r"
+# else
+# define DEFAULT_IM "\r\n\r\n4.4 BSD UNIX (%h) (%t)\r\n\r\r\n\r"
+# endif
# endif
# endif
# endif
OpenPOWER on IntegriCloud