Deleted extra DNS write to config file.

pull/26/head
Druco 2018-11-27 17:43:59 -08:00
parent 5fb99c6d0a
commit 4820df1ed1
1 changed files with 0 additions and 4 deletions

View File

@ -1244,10 +1244,6 @@ create_config_string (NMConnection *connection, GError **error)
args_write_line(f, NMV_WG_TAG_POST_DOWN, "=", post_down); args_write_line(f, NMV_WG_TAG_POST_DOWN, "=", post_down);
} }
if (dns){
args_write_line(f, NMV_WG_TAG_DNS, "=", dns);
}
args_write_line(f, NMV_WG_TAG_PEER); args_write_line(f, NMV_WG_TAG_PEER);
args_write_line(f, NMV_WG_TAG_PUBLIC_KEY, "=", public_key); args_write_line(f, NMV_WG_TAG_PUBLIC_KEY, "=", public_key);
args_write_line(f, NMV_WG_TAG_ENDPOINT, "=", endpoint); args_write_line(f, NMV_WG_TAG_ENDPOINT, "=", endpoint);