summaryrefslogtreecommitdiff
path: root/Xtrans.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2011-04-17 21:36:39 +0200
committerMatthieu Herrb <matthieu.herrb@laas.fr>2011-04-17 21:36:39 +0200
commit560559f62f487b3f33f76d50f41e1c9c5e1ecd3b (patch)
treeca36e72254580a0f2d2ff3918f505cf13c7a8ed3 /Xtrans.c
parent39a52382e693ba277b8a440e3f36b233977a6b1a (diff)
parent27ae0ad1406a33919ea9f76034495bca7cccf051 (diff)
Merge remote branch 'origin/master' into obsd
Diffstat (limited to 'Xtrans.c')
-rw-r--r--Xtrans.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/Xtrans.c b/Xtrans.c
index 55f52a7..f5ca33e 100644
--- a/Xtrans.c
+++ b/Xtrans.c
@@ -284,22 +284,6 @@ TRANS(ParseAddress) (char *address, char **protocol, char **host, char **port)
return 0;
}
- /* Check for DECnet */
-
- if ((mybuf != _host) && (*(mybuf - 1) == ':')
-#if defined(IPv6) && defined(AF_INET6)
- /* An IPv6 address can end in :: so three : in a row is assumed to be
- an IPv6 host and not a DECnet node with a : in it's name, unless
- DECnet is specifically requested */
- && ( ((mybuf - 1) == _host) || (*(mybuf - 2) != ':') ||
- ((_protocol != NULL) && (strcmp(_protocol, "dnet") == 0)) )
-#endif
- )
- {
- _protocol = "dnet";
- *(mybuf - 1) = '\0';
- }
-
*mybuf ++= '\0';
_host_len = strlen(_host);