Reset a sharing interface when tethering is terminating 18/314018/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20240704.174840
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 4 Jul 2024 02:26:14 +0000 (11:26 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 4 Jul 2024 05:09:01 +0000 (14:09 +0900)
Change-Id: I7149ac75c666262d3702fe81227e8e76772780a3

packaging/mobileap-agent.spec
src/mobileap_network.c

index 0cfcf96..b471a2d 100644 (file)
@@ -1,6 +1,6 @@
 Name: mobileap-agent
 Summary: Mobile AP daemon for setting tethering environments
-Version: 1.1.0
+Version: 1.1.1
 Release: 1
 Group: System/Network
 License: Apache-2.0
index 1321e58..b34735c 100644 (file)
@@ -832,8 +832,9 @@ gboolean _unset_masquerade(void)
                return TRUE;
        }
 
-       char *if_name = NULL;
+       g_sharing_if = NULL;
 
+       char *if_name = NULL;
        if (_get_network_interface_name(&if_name) == FALSE) {
                ERR("_get_network_interface_name is failed\n"); //LCOV_EXCL_LINE
                return FALSE;