Github user karuturi commented on the pull request:
https://github.com/apache/cloudstack/pull/903#issuecomment-152994809
great find @nitin-maharana
manually tested the fix
In my setup, I had a vm with two nics
isolated1 - 10.1.1.14 - default
isolated 2 - 10.1.1.187 - non default
When I add a LB rule in network isolated2 for the VM, this is API call
before the change and it failed.

After the fix, it took the right IP and succeeded.

:+1: LGTM
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---