summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_tcp.c
diff options
context:
space:
mode:
authorlaforge <laforge>2003-03-30 18:29:56 +0000
committerlaforge <laforge>2003-03-30 18:29:56 +0000
commitb1867710a1419b48714a3a88896ddceb5ec8fca2 (patch)
tree20e1cec3a2b2337c373282ba6dd323d1319db9f1 /extensions/libipt_tcp.c
parent42ab620b34b151dfdf48a2a94216f1d4dd9d9f92 (diff)
fix error message if invalid flag is specified (Aaron Sethman) (Closes: #65)
Diffstat (limited to 'extensions/libipt_tcp.c')
-rw-r--r--extensions/libipt_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libipt_tcp.c b/extensions/libipt_tcp.c
index 1ff8f12..37613ac 100644
--- a/extensions/libipt_tcp.c
+++ b/extensions/libipt_tcp.c
@@ -122,7 +122,7 @@ parse_tcp_flag(const char *flags)
}
if (i == sizeof(tcp_flag_names)/sizeof(struct tcp_flag_names))
exit_error(PARAMETER_PROBLEM,
- "Unknown TCP flag `%s'", buffer);
+ "Unknown TCP flag `%s'", ptr);
}
free(buffer);