~ubuntu-branches/ubuntu/quantal/xtables-addons/quantal

« back to all changes in this revision

Viewing changes to extensions/libxt_LOGMARK.c

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2011-03-28 22:34:22 UTC
  • mfrom: (1.3.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110328223422-xveu262l46h3mote
Tags: 1.33-1
ImportedĀ UpstreamĀ versionĀ 1.33

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
{
84
84
        const struct xt_logmark_tginfo *info = (void *)target->data;
85
85
 
86
 
        printf("LOGMARK level %u prefix \"%s\" ", info->level, info->prefix);
 
86
        printf(" LOGMARK level %u prefix \"%s\" ", info->level, info->prefix);
87
87
}
88
88
 
89
89
static void
92
92
        const struct xt_logmark_tginfo *info = (void *)target->data;
93
93
 
94
94
        if (info->level != 4)
95
 
                printf("--log-level %u ", info->level);
 
95
                printf(" --log-level %u ", info->level);
96
96
        if (*info->prefix != '\0')
97
 
                printf("--log-prefix \"%s\" ", info->prefix);
 
97
                printf(" --log-prefix \"%s\" ", info->prefix);
98
98
}
99
99
 
100
100
static struct xtables_target logmark_tg_reg = {