STC_LOGD("iftype: [%u]", (unsigned int) rule->iftype);
} else if (!g_strcmp0(key, "rcv_limit")) {
- rule->rcv_limit = g_variant_get_uint64(value);
+ rule->rcv_limit = g_variant_get_int64(value);
STC_LOGD("rcv_limit: [%lld]", rule->rcv_limit);
} else if (!g_strcmp0(key, "send_limit")) {
- rule->send_limit = g_variant_get_uint64(value);
+ rule->send_limit = g_variant_get_int64(value);
STC_LOGD("send_limit: [%lld]", rule->send_limit);
} else if (!g_strcmp0(key, "rcv_warn_limit")) {
- rule->rcv_warn_limit = g_variant_get_uint64(value);
+ rule->rcv_warn_limit = g_variant_get_int64(value);
STC_LOGD("rcv_warn_limit: [%lld]", rule->rcv_warn_limit);
} else if (!g_strcmp0(key, "send_warn_limit")) {
- rule->send_warn_limit = g_variant_get_uint64(value);
+ rule->send_warn_limit = g_variant_get_int64(value);
STC_LOGD("send_warn_limit: [%lld]", rule->send_warn_limit);
} else if (!g_strcmp0(key, "roaming")) {