Removed "RETURN" target name 88/164088/1
authorhyunuktak <hyunuk.tak@samsung.com>
Fri, 15 Dec 2017 07:48:20 +0000 (16:48 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Fri, 15 Dec 2017 07:48:23 +0000 (16:48 +0900)
Change-Id: Ia3a5ab904042cc654cdc406445398b715943ea97
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/stc-iptables.spec
test/stc_ipt_rule.c

index 653551f..2f4b907 100644 (file)
@@ -1,6 +1,6 @@
 Name:       stc-iptables
 Summary:    STC(Smart Traffic Control) iptables
-Version:    0.0.8
+Version:    0.0.9
 Release:    0
 Group:      Network & Connectivity/Other
 License:    GPL-2.0+
index 1662836..f9bab72 100755 (executable)
@@ -34,7 +34,6 @@
 
 #define TARGET_ACCEPT "ACCEPT"
 #define TARGET_DROP   "DROP"
-#define TARGET_RETURN "RETURN"
 
 #define RULE_CHAIN   "chain"
 #define RULE_TYPE    "type"
@@ -147,7 +146,7 @@ static int __test_set_rule(void)
                g_rule->target = g_strdup(TARGET_DROP);
                break;
        default:
-               g_rule->target = g_strdup(TARGET_RETURN);;
+               g_rule->target = NULL;
                break;
        }