From b33ea2674dd536f696e05975dc64be65ec78cbfd Mon Sep 17 00:00:00 2001 From: Kano Date: Mon, 6 Aug 2012 01:05:21 +1000 Subject: [PATCH] api.c update API start message and include port number --- api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.c b/api.c index 75676ecc..557aa5e8 100644 --- a/api.c +++ b/api.c @@ -3241,12 +3241,12 @@ void api(int api_thr_id) } if (opt_api_allow) - applog(LOG_WARNING, "API running in IP access mode"); + applog(LOG_WARNING, "API running in IP access mode on port %d", port); else { if (opt_api_network) - applog(LOG_WARNING, "API running in UNRESTRICTED access mode"); + applog(LOG_WARNING, "API running in UNRESTRICTED read access mode on port %d", port); else - applog(LOG_WARNING, "API running in local access mode"); + applog(LOG_WARNING, "API running in local read access mode on port %d", port); } io_buffer = malloc(MYBUFSIZ+1);