openflow_input: use padding member syntax
diff --git a/openflow_input/bsn_mirror b/openflow_input/bsn_mirror
index 2375b1c..02ea8ec 100644
--- a/openflow_input/bsn_mirror
+++ b/openflow_input/bsn_mirror
@@ -36,7 +36,7 @@
uint32_t dest_port; // mirror destination port
uint32_t vlan_tag; // VLAN tag for mirrored packet (TPID+TCI) (0 == none)
uint8_t copy_stage; // 0 == ingress, 1 == egress
- uint8_t[3] pad;
+ pad(3);
};
// BSN mirroring messages
@@ -48,7 +48,7 @@
uint32_t experimenter; // OF_EXPERIMENTER_ID_BSN
uint32_t subtype; // BSN_MIRRORING_SET
uint8_t report_mirror_ports;
- uint8_t[3] pad;
+ pad(3);
};
struct of_bsn_get_mirroring_request {
@@ -59,7 +59,7 @@
uint32_t experimenter; // OF_EXPERIMENTER_ID_BSN
uint32_t subtype; // BSN_MIRRORING_GET_REQUEST
uint8_t report_mirror_ports;
- uint8_t[3] pad;
+ pad(3);
};
struct of_bsn_get_mirroring_reply {
@@ -70,5 +70,5 @@
uint32_t experimenter; // OF_EXPERIMENTER_ID_BSN
uint32_t subtype; // BSN_MIRRORING_GET_REPLY
uint8_t report_mirror_ports;
- uint8_t[3] pad;
+ pad(3);
};