diff --git a/xmlapi/mastervalue.cgi b/xmlapi/mastervalue.cgi
index 23b350d..3764e65 100755
--- a/xmlapi/mastervalue.cgi
+++ b/xmlapi/mastervalue.cgi
@@ -41,6 +41,7 @@ if {[info exists sid] && [check_session $sid]} {
integer iseId = "} $devid {";
var oDevice = dom.GetObject(iseId);
var address = oDevice.Address();
+ string deviceInterface = (dom.GetObject(oDevice.Interface())).Name();
var deviceType = oDevice.HssType();
Write("}
}
-puts ""
\ No newline at end of file
+puts ""
diff --git a/xmlapi/mastervaluechange.cgi b/xmlapi/mastervaluechange.cgi
index 3418a94..cef1522 100755
--- a/xmlapi/mastervaluechange.cgi
+++ b/xmlapi/mastervaluechange.cgi
@@ -48,6 +48,7 @@ if {[info exists sid] && [check_session $sid]} {
integer iseId = "} $devid {";
var oDevice = dom.GetObject(iseId);
var address = oDevice.Address();
+ string deviceInterface = (dom.GetObject(oDevice.Interface())).Name();
var deviceType = oDevice.HssType();
Write("