diff --git a/feeds/ucentral/ucentral-event/files/ucentral-event b/feeds/ucentral/ucentral-event/files/ucentral-event index faee9207..cc556cbf 100755 --- a/feeds/ucentral/ucentral-event/files/ucentral-event +++ b/feeds/ucentral/ucentral-event/files/ucentral-event @@ -224,6 +224,15 @@ handlers = { ubus.call('network.interface.up_none', 'add_device', msg); ubus.call('dhcprelay', 'check_devices'); }, + + vlan_remove: function(notify) { + if (ratelimit) { + let msg = { + device: notify.data.ifname, + }; + ubus.call('ratelimit', 'device_delete', msg); + } + }, };