Correct mistake in ip address lookup for mgmt port.

Change-Id: I4d626e1d32dbb13558ba8bccf4884bde594fc5ac