mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
Merge PR #593: Unix.c: don't use hardcoded path to call "ethtool"
This commit is contained in:
commit
30a554c190
@ -364,7 +364,7 @@ void UnixDisableInterfaceOffload(char *name)
|
||||
{
|
||||
char *a = t->Token[i];
|
||||
|
||||
Format(tmp, sizeof(tmp), "/sbin/ethtool -K %s %s off 2>/dev/null", name, a);
|
||||
Format(tmp, sizeof(tmp), "ethtool -K %s %s off 2>/dev/null", name, a);
|
||||
FreeToken(UnixExec(tmp));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user