Fix port update method when updating ip_address

Before this patch when updating a ip_address
of a port, there was an access to a net_id
variable which wasn't initialized.

Change-Id: Iac282436d7cd652872dcd49021ad9474da574399
Merge "Fix port update method when updating ip_address"