From 6ca07758d3f2900bf0f84919b294ad5dcf732a24 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 29 Apr 2013 19:40:39 +0200 Subject: portmanager: Also include the interface the service is listening on --- core/portmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/portmanager.lua b/core/portmanager.lua index 923174c2..7a247452 100644 --- a/core/portmanager.lua +++ b/core/portmanager.lua @@ -153,7 +153,7 @@ function activate(service_name) if not handler then log("error", "Failed to open server port %d on %s, %s", port_number, interface, error_to_friendly_message(service_name, port_number, err)); else - table.insert(hooked_ports, port_number); + table.insert(hooked_ports, "["..interface.."]:"..port_number); log("debug", "Added listening service %s to [%s]:%d", service_name, interface, port_number); active_services:add(service_name, interface, port_number, { server = handler; -- cgit v1.2.3