Browse Source

fix iptables module printing format

git.mgm/mediaproxy-ng/origin/mr3.2
Richard Fuchs 12 years ago
parent
commit
821437f470
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      iptables-extension/libxt_MEDIAPROXY.c

+ 2
- 2
iptables-extension/libxt_MEDIAPROXY.c View File

@ -90,7 +90,7 @@ static void print(const void *ip, const struct xt_entry_target *target, int nume
#endif
struct xt_mediaproxy_info *info = (void *) target->data;
printf("id %u", info->id);
printf(" MEDIAPROXY id:%u", info->id);
}
#if defined(__ipt)
@ -102,7 +102,7 @@ static void save(const void *ip, const struct xt_entry_target *target) {
#endif
struct xt_mediaproxy_info *info = (void *) target->data;
printf("--id %u", info->id);
printf(" --id %u", info->id);
}
static struct option opts[] = {


Loading…
Cancel
Save