diff options
Diffstat (limited to 'sys/i4b/driver/i4b_ing.c')
-rw-r--r-- | sys/i4b/driver/i4b_ing.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/i4b/driver/i4b_ing.c b/sys/i4b/driver/i4b_ing.c index c6eb497..c82dabc 100644 --- a/sys/i4b/driver/i4b_ing.c +++ b/sys/i4b/driver/i4b_ing.c @@ -150,11 +150,9 @@ struct ngingstat { * This needs to be kept in sync with the above structure definition */ #define NG_ING_STATS_TYPE_INFO { \ - { \ { "packets_in", &ng_parse_int32_type }, \ { "packets_out", &ng_parse_int32_type }, \ { NULL }, \ - } \ } /* @@ -172,11 +170,12 @@ static ng_disconnect_t ng_ing_disconnect; /* Parse type for struct ngingstat */ static const struct - ng_parse_struct_info ng_ing_stat_type_info = NG_ING_STATS_TYPE_INFO; + ng_parse_struct_field ng_ing_stat_type_fields[] = + NG_ING_STATS_TYPE_INFO; static const struct ng_parse_type ng_ing_stat_type = { &ng_parse_struct_type, - &ng_ing_stat_type_info + &ng_ing_stat_type_fields }; /* List of commands and how to convert arguments to/from ASCII */ |