From 093ac0611fbcf3cbd78af6b1f54c381138288e66 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 23 Jan 2015 11:25:24 -0500 Subject: [PATCH] MT#10059 fix hostname detection bug --- lib/get_all_rtp_for_host | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/get_all_rtp_for_host b/lib/get_all_rtp_for_host index 754c618f..cd068415 100644 --- a/lib/get_all_rtp_for_host +++ b/lib/get_all_rtp_for_host @@ -11,8 +11,8 @@ X_host = argv.host; X_format = argv.format; -IF ! X_host.defined; - PROCESS '/usr/lib/ngcp-ngcpcfg/get_hostname' +IF ! X_host.defined || X_host == ''; + PROCESS '/usr/lib/ngcp-ngcpcfg/get_hostname'; X_host = out; END;