mirror of
https://github.com/max-moser/network-manager-wireguard.git
synced 2025-02-20 06:46:21 +03:00
Add last of DNS change
This commit is contained in:
parent
50bb7448e7
commit
50a9f5649b
@ -1209,6 +1209,9 @@ create_config_string (NMConnection *connection, GError **error)
|
|||||||
g_free(value);
|
g_free(value);
|
||||||
|
|
||||||
args_write_line(f, NMV_WG_TAG_LISTEN_PORT, "=", listen_port);
|
args_write_line(f, NMV_WG_TAG_LISTEN_PORT, "=", listen_port);
|
||||||
|
if(dns){
|
||||||
|
args_write_line(f,NMV_WG_TAG_DNS, "=", dns);
|
||||||
|
}
|
||||||
|
|
||||||
if(post_up){
|
if(post_up){
|
||||||
args_write_line(f, NMV_WG_TAG_POST_UP, "=", post_up);
|
args_write_line(f, NMV_WG_TAG_POST_UP, "=", post_up);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user