mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-28 04:58:32 +00:00
Merge pull request #149 from djs55/fix-windows-sharing
Hyper-V: mount the filesystem from the default gateway via eth0
This commit is contained in:
commit
8d32faa823
@ -377,7 +377,7 @@ static int kvp_cifs_mount(const char *value)
|
|||||||
char *t;
|
char *t;
|
||||||
|
|
||||||
char gw[256];
|
char gw[256];
|
||||||
char gwcmd[] = "ip route show | awk '/default/ {print $3 }'";
|
char gwcmd[] = "ip route show | grep 'eth0' | awk '/default/ {print $3 }'";
|
||||||
|
|
||||||
int i, count;
|
int i, count;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user