diff options
-rw-r--r-- | src/lib9/dial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib9/dial.c b/src/lib9/dial.c index 5550e9e1..08cd99b6 100644 --- a/src/lib9/dial.c +++ b/src/lib9/dial.c @@ -46,7 +46,7 @@ p9dial(char *addr, char *local, char *dummy2, int *dummy3) free(buf); return -1; } - if(host == 0){ + if(strcmp(net, "unix") != 0 && host == 0){ werrstr("invalid dial address 0.0.0.0 (aka *)"); free(buf); return -1; |