fix typos
diff --git a/c_gen/templates/loci_show.h b/c_gen/templates/loci_show.h
index 6885d4e..eebd235 100644
--- a/c_gen/templates/loci_show.h
+++ b/c_gen/templates/loci_show.h
@@ -371,6 +371,4 @@
#define LOCI_SHOW_u16_partner_key(writer, cookie, val) LOCI_SHOW_u16(writer, cookie, val)
#define LOCI_SHOW_u64_time_ms(writer, cookie, val) LOCI_SHOW_u64(writer, cookie, val)
-
-
#endif /* _LOCI_SHOW_H_ */
diff --git a/c_gen/templates/of_type_maps.c b/c_gen/templates/of_type_maps.c
index 634376e..2314d67 100644
--- a/c_gen/templates/of_type_maps.c
+++ b/c_gen/templates/of_type_maps.c
@@ -871,8 +871,8 @@
switch (subtype) {
case 1: return OF_BSN_LACP_STATS_REQUEST;
case 6: return OF_BSN_SWITCH_PIPELINE_STATS_REQUEST;
- case 7: return OF_BSN_PORT_COUNTER_STATS_REQUEST;
- case 8: return OF_BSN_VLAN_COUNTER_STATS_REQUEST;
+ case 8: return OF_BSN_PORT_COUNTER_STATS_REQUEST;
+ case 9: return OF_BSN_VLAN_COUNTER_STATS_REQUEST;
}
}
return OF_OBJECT_INVALID;
@@ -886,8 +886,8 @@
switch (subtype) {
case 1: return OF_BSN_LACP_STATS_REPLY;
case 6: return OF_BSN_SWITCH_PIPELINE_STATS_REPLY;
- case 7: return OF_BSN_PORT_COUNTER_STATS_REPLY;
- case 8: return OF_BSN_VLAN_COUNTER_STATS_REPLY;
+ case 8: return OF_BSN_PORT_COUNTER_STATS_REPLY;
+ case 9: return OF_BSN_VLAN_COUNTER_STATS_REPLY;
}
}
return OF_OBJECT_INVALID;