Skip to content

Commit

Permalink
Testing alternative method
Browse files Browse the repository at this point in the history
  • Loading branch information
amarcionek committed Jan 2, 2019
1 parent 0d12f45 commit 6cc9247
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/java/org/dcache/nfs/v3/MountServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ public mountres3 MOUNTPROC3_MNT_3(RpcCall call$, dirpath arg1) {

mountres3 m = new mountres3();

String mountPoint = arg1.value;
java.io.File f = new java.io.File(arg1.value);
String mountPoint = f.getPath().replace("\\", "/");

InetAddress remoteAddress = call$.getTransport().getRemoteSocketAddress().getAddress();
_log.debug("Mount request for: {}", mountPoint);

Expand Down

0 comments on commit 6cc9247

Please sign in to comment.