diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-12-16 02:02:45 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-12-16 02:02:45 +0000 |
commit | 0f791a7fb6a67cf30d91775e4ae768679e14d610 (patch) | |
tree | c655fc3b31bdc44bb6a8c4bcfb90df3ce1c86496 /contrib/fwd/src/fwd_addr.h | |
parent | a833e120b7f8a835f07e6d9bb5c37df149580468 (diff) |
contrib/fwd: rewrite rule generate to use xtables api
Diffstat (limited to 'contrib/fwd/src/fwd_addr.h')
-rw-r--r-- | contrib/fwd/src/fwd_addr.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/fwd/src/fwd_addr.h b/contrib/fwd/src/fwd_addr.h index 1a28f64641..44465705af 100644 --- a/contrib/fwd/src/fwd_addr.h +++ b/contrib/fwd/src/fwd_addr.h @@ -33,11 +33,7 @@ struct fwd_addr_list { char label[IFNAMSIZ]; int family; int index; - unsigned int prefix; - union { - struct in_addr v4; - struct in6_addr v6; - } ipaddr; + struct fwd_cidr ipaddr; struct fwd_addr_list *next; }; |