port_no field changed into port to convert it correctly into OFPort type.