summaryrefslogtreecommitdiff
path: root/sys/src/cmd/hjfs/9p.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-01-07 02:13:54 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2013-01-07 02:13:54 +0100
commit0c8543235974026577ab2978bdc9a379314b36d3 (patch)
tree355cf8d39194e6771e5166ddaabe03096d866aee /sys/src/cmd/hjfs/9p.c
parenta5b6143c4c73098bfabe8b58f7e922473387a17d (diff)
hjfs: network announce/listen support
Diffstat (limited to 'sys/src/cmd/hjfs/9p.c')
-rw-r--r--sys/src/cmd/hjfs/9p.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/src/cmd/hjfs/9p.c b/sys/src/cmd/hjfs/9p.c
index 037914904..a980b1f48 100644
--- a/sys/src/cmd/hjfs/9p.c
+++ b/sys/src/cmd/hjfs/9p.c
@@ -135,8 +135,10 @@ static Srv mysrv = {
};
void
-start9p(char *service, int stdio)
+start9p(char *service, char **nets, int stdio)
{
+ while(nets && *nets)
+ threadlistensrv(&mysrv, *nets++);
if(stdio){
mysrv.infd = 1;
mysrv.outfd = 1;