]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/p_ip6.c
vdpa: add .gitignore
[mirror_iproute2.git] / tc / p_ip6.c
index 71660c610c827b1a2c25370b1895639b5e12ed21..83a6ae8183a7fe5594a3490289a5f755dba71425 100644 (file)
@@ -82,7 +82,7 @@ parse_ip6(int *argc_p, char ***argv_p,
                /* Shift the field by 4 bits on success. */
                if (!res) {
                        int nkeys = sel->sel.nkeys;
-                       struct tc_pedit_key *key = &sel->sel.keys[nkeys - 1];
+                       struct tc_pedit_key *key = &sel->keys[nkeys - 1];
 
                        key->mask = htonl(ntohl(key->mask) << 4 | 0xf);
                        key->val = htonl(ntohl(key->val) << 4);