summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2023-01-09 14:44:23 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2023-01-09 14:44:23 +0000
commit24fa514abe616a5c55f8f20d48a268a805c2ec2f (patch)
treefea8be28bc30771dcdc7d23493b322f825f45b2e
parentb122f2c4b8c3ebf69ce46347bf752ef0d75fadc8 (diff)
sshnet: mount BEFORE /net (preserving /net/tls and /net/dns)
-rw-r--r--sys/man/4/sshnet2
-rwxr-xr-xsys/src/cmd/sshnet.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/man/4/sshnet b/sys/man/4/sshnet
index 42291ca60..10325133e 100644
--- a/sys/man/4/sshnet
+++ b/sys/man/4/sshnet
@@ -34,7 +34,7 @@ establishes an SSH connection and, rather than execute a remote command,
presents the remote server's TCP stack as a network stack
(see the discussion of TCP in
.IR ip (3))
-mounted at
+mounted before
.I mtpt
(default
.BR /net ),
diff --git a/sys/src/cmd/sshnet.c b/sys/src/cmd/sshnet.c
index 00f85b045..291e2ab81 100755
--- a/sys/src/cmd/sshnet.c
+++ b/sys/src/cmd/sshnet.c
@@ -1445,7 +1445,7 @@ threadmain(int argc, char **argv)
ssh(argc, argv);
- threadpostmountsrv(&fs, service, mtpt, MREPL);
+ threadpostmountsrv(&fs, service, mtpt, MBEFORE);
threadexits(nil);
}