mirror of
https://github.com/max-moser/network-manager-wireguard.git
synced 2026-11-23 01:35:39 +03:00
Add last of DNS change
This commit is contained in:
1 parent
50bb7448e7
commit
50a9f5649b
1 file changed
+3
@@ -1209,6 +1209,9 @@ create_config_string (NMConnection *connection, GError **error)
|
||||
g_free(value);
|
||||
|
||||
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){
|
||||
args_write_line(f, NMV_WG_TAG_POST_UP, "=", post_up);
|
||||
|
||||
Reference in new issue
Block a user