Message ID | 1364119760-5069-1-git-send-email-pablo@netfilter.org |
---|---|
State | Accepted |
Headers | show |
diff --git a/extensions/libxt_osf.c b/extensions/libxt_osf.c index 88274a0..4e2139a 100644 --- a/extensions/libxt_osf.c +++ b/extensions/libxt_osf.c @@ -93,6 +93,10 @@ static void osf_save(const void *ip, const struct xt_entry_match *match) const struct xt_osf_info *info = (const struct xt_osf_info*) match->data; printf(" --genre %s%s", (info->flags & XT_OSF_INVERT) ? "! ": "", info->genre); + if (info->flags & XT_OSF_TTL) + printf(" --ttl %u", info->ttl); + if (info->flags & XT_OSF_LOG) + printf(" --log %u", info->loglevel); } static struct xtables_match osf_match = {