- Fix in CGI empty config & host name fields.
This commit is contained in:
@@ -123,7 +123,7 @@ Destination_Status_Board ()
|
|||||||
|
|
||||||
if [[ "${format}" == "html" ]]
|
if [[ "${format}" == "html" ]]
|
||||||
then
|
then
|
||||||
echo -n "<TR><TD class="header">${dst_id}</TD><TD>${dst_name}</TD><TD>${NETWORK_DST_TYPE[${dst_type}]}</TD><TD>${dst_device}</TD><TD>${dst_ip}</TD><TD>${dst_host_name}</TD><TD>${dst_config}</TD><TD>${dst_table}</TD><TD>"
|
echo -n "<TR><TD class="header">${dst_id}</TD><TD>${dst_name}</TD><TD>${NETWORK_DST_TYPE[${dst_type}]}</TD><TD>${dst_device}</TD><TD>${dst_ip}</TD><TD>${dst_host_name}</TD><TD>${dst_config:--}</TD><TD>${dst_table}</TD><TD>"
|
||||||
|
|
||||||
if [[ "${dst_status}" == 1 ]]
|
if [[ "${dst_status}" == 1 ]]
|
||||||
then
|
then
|
||||||
@@ -188,7 +188,7 @@ Source_Routing_Board_Line()
|
|||||||
then
|
then
|
||||||
echo -n "<TR class="${class}"><TD class="header">${src_id}</TD>"
|
echo -n "<TR class="${class}"><TD class="header">${src_id}</TD>"
|
||||||
|
|
||||||
echo -n "<TD>${NETWORK_SRC_TYPE[${src_type}]}</TD><TD>${src_ip}</TD><TD>${src_host_name}</TD>"
|
echo -n "<TD>${NETWORK_SRC_TYPE[${src_type}]}</TD><TD>${src_ip}</TD><TD>${src_host_name:--}</TD>"
|
||||||
|
|
||||||
echo -n "<TD>${src_device:--}</TD>"
|
echo -n "<TD>${src_device:--}</TD>"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user