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 653551f978a0041b93b9dda56f971e4b0a803ab3..2f4b907e65ddd1d3a42a260ff6033f404d70a365 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 166283639186874872230ec96d8c27fd965103e9..f9bab729bfc71fc60dc0fe40fda7ebba767c2abb 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;
        }