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:
Rolf Neugebauer 2016-05-23 19:35:03 +01:00
commit 8d32faa823

View File

@ -377,7 +377,7 @@ static int kvp_cifs_mount(const char *value)
char *t;
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;