fix iptables module printing format

git.mgm/mediaproxy-ng/origin/mr3.2
Richard Fuchs 13 years ago
parent 9fe79ddf25
commit 821437f470

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

Loading…
Cancel
Save