Make insert method use the insert function in IPv6
authorMateusz Majewski <m.majewski2@samsung.com>
Wed, 13 Jan 2021 13:41:28 +0000 (14:41 +0100)
committerMateusz Majewski <m.majewski2@samsung.com>
Thu, 14 Jan 2021 12:14:23 +0000 (13:14 +0100)
Change-Id: I1c5c6d3f2a591ea844cdef4c050f28c78b88b6c3

src/stc-iptables-gdbus.c

index e95da6fe70860e674f17a616d9c5299ad0ed99a1..729737d6f5dd7c9ad7acd3c81086f1e82f264200 100755 (executable)
@@ -147,7 +147,7 @@ static gboolean __stc_iptables_gdbus_rule_init(stc_iptables_s *stc_iptables)
                         stc_iptables);
 
        g_signal_connect(rule, "handle-ip6t-insert-rule",
-                        G_CALLBACK(handle_ip6tables_add_rule),
+                        G_CALLBACK(handle_ip6tables_insert_rule),
                         stc_iptables);
 
        g_signal_connect(rule, "handle-ip6t-remove-rule",