]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/ipv4/netfilter/ipt_TTL.c
netfilter: x_tables: use NFPROTO_* in extensions
[mirror_ubuntu-artful-kernel.git] / net / ipv4 / netfilter / ipt_TTL.c
index 30eed65e7338c717003e2f17ad7e4c6a2f0ef737..7d01d424a71a7d98202b865e3b9b006c5b32eafb 100644 (file)
@@ -80,7 +80,7 @@ ttl_tg_check(const char *tablename, const void *e,
 
 static struct xt_target ttl_tg_reg __read_mostly = {
        .name           = "TTL",
-       .family         = AF_INET,
+       .family         = NFPROTO_IPV4,
        .target         = ttl_tg,
        .targetsize     = sizeof(struct ipt_TTL_info),
        .table          = "mangle",