shithub: drawterm

Download patch

ref: e33e667369270ef94daaacd5461e28ee4b57d34d
parent: 4c2d87cd65fc769d434f23fb54e328811e52d43a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Sep 18 13:05:21 EDT 2016

use service names instead of numberic ports for ticket and secstore

--- a/cpu.c
+++ b/cpu.c
@@ -456,7 +456,7 @@
 int
 authdial(char *net, char *dom)
 {
-	return dial(netmkaddr(authserver, "tcp", "567"), 0, 0, 0);
+	return dial(netmkaddr(authserver, "tcp", "ticket"), 0, 0, 0);
 }
 
 static int
--- a/secstore.c
+++ b/secstore.c
@@ -58,7 +58,7 @@
 			break;
 		}
 	}
-	fd = dial(netmkaddr(p, "tcp", "5356"), 0, 0, 0);
+	fd = dial(netmkaddr(p, "tcp", "secstore"), 0, 0, 0);
 	if(fd >= 0)
 		return fd;
 	return -1;