You can remove this function, as it does no initialization.
Implicit NULL in struct xtables_match is handled.
This would allow specifying --ttl 12345.
Use of xtables_strtoui (v1.4.3-rc1+git) for bounds checking,
and use of optarg seem beneficial:
unsigned int num;
if (!xtables_strtoui(optarg, NULL, &num, 0, UINT8_MAX))
exit_error(PARAMETER_PROBLEM, "*shrug*");
info->ttl = num;
similarly.
Needs .family = NFPROTO_IPV4.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html