diff --git a/dockers/docker-orchagent/orchagent.sh b/dockers/docker-orchagent/orchagent.sh index 1b2a1b88ab72..df29c6a258b5 100755 --- a/dockers/docker-orchagent/orchagent.sh +++ b/dockers/docker-orchagent/orchagent.sh @@ -82,7 +82,7 @@ if [[ x"${LOCALHOST_SUBTYPE}" == x"SmartSwitch" ]]; then if [[ $midplane_ip != "" ]]; then # Enable ZMQ with eth0-midplane address ORCHAGENT_ARGS+=" -q tcp://${midplane_mgmt_ip}:8100" - elif [[ $mgmt_ip != "" ]]; then + elif [[ $mgmt_ip != "" ]] && [[ $mgmt_ip != "null" ]]; then # If eth0-midplane interface does not exist, enable ZMQ with eth0 address ORCHAGENT_ARGS+=" -q tcp://${mgmt_ip}:8100" else