From: Andrew Morton <[EMAIL PROTECTED]> net/bridge/netfilter/ebtables.c:1481: warning: initialization makes pointer from integer without a cast
Note that the compat functions aren't implemented? Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- net/bridge/netfilter/ebtables.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff -puN net/bridge/netfilter/ebtables.c~git-net-ebtables-fix net/bridge/netfilter/ebtables.c --- devel/net/bridge/netfilter/ebtables.c~git-net-ebtables-fix 2006-03-11 19:20:01.000000000 -0800 +++ devel-akpm/net/bridge/netfilter/ebtables.c 2006-03-11 19:20:01.000000000 -0800 @@ -1477,8 +1477,14 @@ static int do_ebt_get_ctl(struct sock *s } static struct nf_sockopt_ops ebt_sockopts = -{ { NULL, NULL }, PF_INET, EBT_BASE_CTL, EBT_SO_SET_MAX + 1, do_ebt_set_ctl, - EBT_BASE_CTL, EBT_SO_GET_MAX + 1, do_ebt_get_ctl, 0, NULL +{ + .pf = PF_INET, + .set_optmin = EBT_BASE_CTL, + .set_optmax = EBT_SO_SET_MAX + 1 + .set = do_ebt_set_ctl, + .get_optmin = EBT_BASE_CTL, + .get_optmax = EBT_SO_GET_MAX + 1, + .get = do_ebt_get_ctl, }; static int __init init(void) _ - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html