feature: added lua codec parameter to awg
This commit is contained in:
parent
0bca78eca9
commit
d241c82500
15 changed files with 55 additions and 4 deletions
|
|
@ -131,6 +131,9 @@ bool WireguardUtilsLinux::addInterface(const InterfaceConfig& config) {
|
|||
if (!config.m_transportPacketMagicHeader.isEmpty()) {
|
||||
out << "h4=" << config.m_transportPacketMagicHeader << "\n";
|
||||
}
|
||||
if (!config.m_luaCodec.isEmpty()) {
|
||||
out << "lua_codec=" << config.m_luaCodec << "\n";
|
||||
}
|
||||
|
||||
int err = uapiErrno(uapiCommand(message));
|
||||
if (err != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue