From 9cc1b03c56756d04b37ac549dd5e46c9e453b4c1 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Thu, 10 Nov 2016 20:19:55 +0000 Subject: [PATCH] small change to udp httpadmin as it refers to both in and pout --- nodes/core/io/32-udp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/core/io/32-udp.js b/nodes/core/io/32-udp.js index 736a3fbd2..66e3a2c0a 100644 --- a/nodes/core/io/32-udp.js +++ b/nodes/core/io/32-udp.js @@ -102,7 +102,7 @@ module.exports = function(RED) { try { server.bind(node.port,node.iface); } catch(e) { } // Don't worry if already bound } - RED.httpAdmin.get('/udp-ports/:id', RED.auth.needsPermission('udp-in.read'), function(req,res) { + RED.httpAdmin.get('/udp-ports/:id', RED.auth.needsPermission('udp-ports.read'), function(req,res) { res.json(Object.keys(udpInputPortsInUse)); }); RED.nodes.registerType("udp in",UDPin);