History

use service names instead of numberic ports for ticket and secstore

cinap_lenrek committed 10 years ago

Commit e33e6671 parent 4c2d87c2 files · +2 −2Browse files

Unified · Split

2 files
  1. cpu.c +1 −1
  2. secstore.c +1 −1
cpu.c+1−1
@@ -456,7 +456,7 @@ p9authtls(int fd) · 455 unmodified lines
456int456int
457authdial(char *net, char *dom)457authdial(char *net, char *dom)
458{458{
459 return dial(netmkaddr(authserver, "tcp", "567"), 0, 0, 0);459 return dial(netmkaddr(authserver, "tcp", "ticket"), 0, 0, 0);
460}460}
461 461
462static int462static int
secstore.c+1−1
@@ -58,7 +58,7 @@ secdial(char *secstore) · 57 unmodified lines
58 break;58 break;
59 }59 }
60 }60 }
61 fd = dial(netmkaddr(p, "tcp", "5356"), 0, 0, 0);61 fd = dial(netmkaddr(p, "tcp", "secstore"), 0, 0, 0);
62 if(fd >= 0)62 if(fd >= 0)
63 return fd;63 return fd;
64 return -1;64 return -1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t