Changed type of port list in features reply to be OFPortDesc
diff --git a/java_gen/java_type.py b/java_gen/java_type.py
index 2369d01..fa03371 100644
--- a/java_gen/java_type.py
+++ b/java_gen/java_type.py
@@ -230,8 +230,8 @@
write='ChannelUtils.writeList(bb, $name)')
buckets_list = JType('List<OFBucket>') \
.op(read='ChannelUtils.readList(bb, $length, OFBucketVer$version.READER)', write='ChannelUtils.writeList(bb, $name)')
-port_desc_list = JType('List<OFPhysicalPort>') \
- .op(read='ChannelUtils.readList(bb, $length, OFPhysicalPort.READER)', write='ChannelUtils.writeList(bb, $name)')
+port_desc_list = JType('List<OFPortDesc>') \
+ .op(read='ChannelUtils.readList(bb, $length, OFPortDescVer$version.READER)', write='ChannelUtils.writeList(bb, $name)')
port_desc = JType('OFPortDesc') \
.op(read='OFPortDescVer$version.READER.readFrom(bb)', \
write='$name.writeTo(bb)')