[network-manager-openvpn/th/export-bgo764132: 16/27] fixup! properties: refactor do_export() (refactor writing "dev")



commit 56343b258ca40915f344d40e4f1d1031a75c78bc
Author: Thomas Haller <thaller redhat com>
Date:   Fri Mar 25 20:40:32 2016 +0100

    fixup! properties: refactor do_export() (refactor writing "dev")

 properties/import-export.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/import-export.c b/properties/import-export.c
index dc91177..617a256 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -1868,7 +1868,7 @@ do_export_create (NMConnection *connection, const char *path, GError **error)
                                 device ?:
                                     (device_type ?:
                                         (nm_streq0 (nm_setting_vpn_get_data_item (s_vpn, 
NM_OPENVPN_KEY_TAP_DEV), "yes")
-                                            ? "tun" : "tap")));
+                                            ? "tap" : "tun")));
                if (device_type)
                        args_write_line (f, "dev-type", device_type);
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]