summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_rateest.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-01-29 13:48:05 +0000
committerPatrick McHardy <kaber@trash.net>2008-01-29 13:48:05 +0000
commit9ee386a1b6d7704b259460152c959ab0e79e02aa (patch)
tree13f39ec579024d42beb0ce6509b0c935dbe8ca03 /extensions/libxt_rateest.c
parentfe05c768f877bcc69c13d7a9cb1d2b33ef56f600 (diff)
fix gcc warnings
Max Kellermann <max@duempel.org>
Diffstat (limited to 'extensions/libxt_rateest.c')
-rw-r--r--extensions/libxt_rateest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_rateest.c b/extensions/libxt_rateest.c
index cf787033..5f13340f 100644
--- a/extensions/libxt_rateest.c
+++ b/extensions/libxt_rateest.c
@@ -55,7 +55,7 @@ static const struct option rateest_opts[] = {
{ "rateest-lt", 0, NULL, OPT_RATEEST_LT },
{ "rateest-gt", 0, NULL, OPT_RATEEST_GT },
{ "rateest-eq", 0, NULL, OPT_RATEEST_EQ },
- { },
+ { .name = NULL }
};
/* Copied from iproute. See http://physics.nist.gov/cuu/Units/binary.html */
@@ -81,7 +81,7 @@ static const struct rate_suffix {
{ "GBps", 8000000000. },
{ "TiBps", 8.*1024.*1024.*1024.*1024. },
{ "TBps", 8000000000000. },
- { }
+ { .name = NULL }
};
static int