IPMARK: print --addr flag the usual way

This commit is contained in:
Jan Engelhardt
2008-04-09 14:44:53 +02:00
parent 4b8ec990b8
commit b63ac3be45

View File

@@ -115,9 +115,10 @@ ipmark_tg_save(const void *entry, const struct xt_entry_target *target)
const struct xt_ipmark_tginfo *info = (const void *)target->data;
if (info->selector == XT_IPMARK_SRC)
printf("--addr=src ");
printf("--addr src ");
else
printf("--addr=dst ");
printf("--addr dst ");
if (info->andmask != ~0U)
printf("--and-mask 0x%x ", (unsigned int)info->andmask);
if (info->ormask != 0)