Closed fatihusta closed 4 years ago
Minor fix.
diff -aur a/src/usr/iptables/common.c b/src/usr/iptables/common.c
--- a/src/usr/iptables/common.c 2019-12-10 10:35:08.000000000 +0200
+++ b/src/usr/iptables/common.c 2019-12-10 10:35:37.000000000 +0200
@@ -88,7 +88,7 @@
static void jool_tg_save(const void *ip, const struct xt_entry_target *target)
{
struct target_info *info = (struct target_info *)target->data;
- printf("--" OPTNAME_INAME " %s ", info->iname);
+ printf(" --" OPTNAME_INAME " %s ", info->iname);
}
static struct xtables_target targets[] = {
As you can see. JOOL and instance together.
When I edit iptables.jool.save file like this.
There is no problem during the restore.