make sure to set p9unix
This commit is contained in:
parent
78378021c8
commit
fc11cb4bbb
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ p9dialparse(char *addr, char **pnet, char **punix, u32int *phost, int *pport)
|
||||||
if(strncmp(addr, "/net/", 5) == 0)
|
if(strncmp(addr, "/net/", 5) == 0)
|
||||||
addr += 5;
|
addr += 5;
|
||||||
|
|
||||||
|
*punix = nil;
|
||||||
net = addr;
|
net = addr;
|
||||||
if((host = strchr(net, '!')) == nil){
|
if((host = strchr(net, '!')) == nil){
|
||||||
werrstr("malformed address");
|
werrstr("malformed address");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue