Fix a coverity for 1142644 17/237817/1 accepted/tizen/5.5/unified/20200707.111506 submit/tizen_5.5/20200707.005113 submit/tizen_5.5/20200707.012700
authorhyunuk.tak <hyunuk.tak@samsung.com>
Mon, 6 Jul 2020 02:10:27 +0000 (11:10 +0900)
committerhyunuk.tak <hyunuk.tak@samsung.com>
Mon, 6 Jul 2020 02:10:30 +0000 (11:10 +0900)
Change-Id: Id8fc3ceb256785dc8b460bceafc99feacde6820c
Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
plugin/monitor/stc-plugin-monitor-app.c

index a0c0224..c7989f9 100755 (executable)
@@ -612,7 +612,7 @@ static void __make_counter(stc_app_value_s *app_value,
 
        if (iptype == NFACCT_TYPE_IPV4)
                list_data->counter_v4_list = g_slist_append(list_data->counter_v4_list, counter);
-       else if (iptype == NFACCT_TYPE_IPV6)
+       else
                list_data->counter_v6_list = g_slist_append(list_data->counter_v6_list, counter);
 }