]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/atm/clip.c
net: use the macros defined for the members of flowi
[net-next-2.6.git] / net / atm / clip.c
index ff956d1115bcee4636a68011a38457d87bea3cdd..d257da50fcfb92417cad07bfb60e0377b2f2f933 100644 (file)
@@ -502,7 +502,8 @@ static int clip_setentry(struct atm_vcc *vcc, __be32 ip)
        struct atmarp_entry *entry;
        int error;
        struct clip_vcc *clip_vcc;
-       struct flowi fl = { .nl_u = { .ip4_u = { .daddr = ip, .tos = 1}} };
+       struct flowi fl = { .fl4_dst = ip,
+                           .fl4_tos = 1 };
        struct rtable *rt;
 
        if (vcc->push != clip_push) {