add zero-length data field to abis_fom_hdr

This commit is contained in:
Harald Welte 2009-01-18 19:02:46 +00:00
parent 4724f99d19
commit f3066bb17e
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ struct abis_om_fom_hdr {
u_int8_t msg_type;
u_int8_t obj_class;
struct abis_om_obj_inst obj_inst;
u_int8_t data[0];
} __attribute__ ((packed));
#define ABIS_OM_FOM_HDR_SIZE (sizeof(struct abis_om_hdr) + sizeof(struct abis_om_fom_hdr))