projects
/
platform
/
core
/
connectivity
/
stc-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
080367e
)
Fix to delete iptables rule while unsetting restrictions
86/233986/1
accepted/tizen/5.5/unified/20200521.163216
submit/tizen_5.5/20200521.035102
author
Semun Lee
<semun.lee@samsung.com>
Mon, 18 May 2020 23:30:47 +0000
(08:30 +0900)
committer
Semun Lee
<semun.lee@samsung.com>
Thu, 21 May 2020 03:50:23 +0000
(
03:50
+0000)
We should delete block rules
Change-Id: I4c3db4db451f034a9257ebda234dbfa275c19813
Signed-off-by: Semun Lee <semun.lee@samsung.com>
(cherry picked from commit
ab517e17e80fec38739dffe83e8f14af5487b586
)
plugin/monitor/stc-plugin-monitor-rstn.c
patch
|
blob
|
history
diff --git
a/plugin/monitor/stc-plugin-monitor-rstn.c
b/plugin/monitor/stc-plugin-monitor-rstn.c
index
ab88ae3
..
60e75ae
100755
(executable)
--- a/
plugin/monitor/stc-plugin-monitor-rstn.c
+++ b/
plugin/monitor/stc-plugin-monitor-rstn.c
@@
-622,10
+622,10
@@
static void __rstn_process(enum traffic_restriction_type rstn_type,
int i;
if (rstn_data->classid == STC_TETHERING_APP_CLASSID)
- __rstn_del_ipt_rule(rstn_data->classid, NFACCT_BLOCK,
+ __rstn_del_ipt_rule(rstn_data->classid, NFACCT_
TETH_
BLOCK,
rstn_data->iftype);
else
- __rstn_del_ipt_rule(rstn_data->classid,
rstn_data->rstn_type
,
+ __rstn_del_ipt_rule(rstn_data->classid,
NFACCT_BLOCK
,
rstn_data->iftype);
rstn_data->rstn_state = STC_RSTN_STATE_DEACTIVATED;