1 diff -Nur iptables-1.3.4/extensions/libipt_string.c iptables-1.3.4-openwrt/extensions/libipt_string.c
2 --- iptables-1.3.4/extensions/libipt_string.c 2005-10-31 20:03:50.000000000 +0100
3 +++ iptables-1.3.4-openwrt/extensions/libipt_string.c 2005-12-15 15:08:27.000000000 +0100
8 -parse_string(const unsigned char *s, struct ipt_string_info *info)
9 +parse_string(const char *s, struct ipt_string_info *info)
11 if (strlen(s) <= IPT_STRING_MAX_PATTERN_SIZE) {
12 strncpy(info->pattern, s, IPT_STRING_MAX_PATTERN_SIZE);
17 -parse_algo(const unsigned char *s, struct ipt_string_info *info)
18 +parse_algo(const char *s, struct ipt_string_info *info)
20 if (strlen(s) <= IPT_STRING_MAX_ALGO_NAME_SIZE) {
21 strncpy(info->algo, s, IPT_STRING_MAX_ALGO_NAME_SIZE);
26 -parse_hex_string(const unsigned char *s, struct ipt_string_info *info)
27 +parse_hex_string(const char *s, struct ipt_string_info *info)
29 int i=0, slen, sindex=0, schar;
30 short hex_f = 0, literal_f = 0;