diff --git a/feeds/ucentral/ucentral-event/files/ucentral-event b/feeds/ucentral/ucentral-event/files/ucentral-event index c35fb536a..967e845c3 100755 --- a/feeds/ucentral/ucentral-event/files/ucentral-event +++ b/feeds/ucentral/ucentral-event/files/ucentral-event @@ -93,8 +93,8 @@ let handlers = { address: notify.data.address, }; if (notify.data['rate-limit']) { - msg.rate_ingress = notify.data['rate-limit'][0] / 1000000; - msg.rate_egress = notify.data['rate-limit'][1] / 1000000; + msg.rate_ingress = `${notify.data['rate-limit'][0]}`; + msg.rate_egress = `${notify.data['rate-limit'][1]}`; } else msg.defaults = hapd.ssid; ubus.call('ratelimit', 'client_set', msg);