diff options
Diffstat (limited to 'src/conntrack.c')
-rw-r--r-- | src/conntrack.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/conntrack.c b/src/conntrack.c index 26e7408..999df87 100644 --- a/src/conntrack.c +++ b/src/conntrack.c @@ -379,12 +379,14 @@ do_parse_parameter(const char *str, size_t str_length, unsigned int *value, struct parse_parameter *p = &parse_array[parse_type]; if (strncasecmp(str, "SRC_NAT", str_length) == 0) { - printf("skipping SRC_NAT, use --src-nat instead\n"); + fprintf(stderr, "WARNING: ignoring SRC_NAT, " + "use --src-nat instead\n"); return 1; } if (strncasecmp(str, "DST_NAT", str_length) == 0) { - printf("skipping DST_NAT, use --dst-nat instead\n"); + fprintf(stderr, "WARNING: ignoring DST_NAT, " + "use --dst-nat instead\n"); return 1; } |