diff options
Diffstat (limited to 'tc/m_csum.c')
-rw-r--r-- | tc/m_csum.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tc/m_csum.c b/tc/m_csum.c index fb1183a9..047986ef 100644 --- a/tc/m_csum.c +++ b/tc/m_csum.c @@ -85,15 +85,13 @@ static int parse_csum(struct action_util *a, int *argc_p, char ***argv_p, int tca_id, struct nlmsghdr *n) { - struct tc_csum sel; + struct tc_csum sel = {}; int argc = *argc_p; char **argv = *argv_p; int ok = 0; struct rtattr *tail; - memset(&sel, 0, sizeof(sel)); - while (argc > 0) { if (matches(*argv, "csum") == 0) { NEXT_ARG(); |