Comments
Patch
@@ -1286,7 +1286,7 @@ static void command_jump(struct iptables_command_state *cs)
cs->target->t = xtables_calloc(1, size);
cs->target->t->u.target_size = size;
- if (cs->target->real_name != NULL)
+ if (strcmp(cs->target->real_name, "standard") == 0)
strcpy(cs->target->t->u.user.name, cs->jumpto);
else
strcpy(cs->target->t->u.user.name, cs->target->real_name);
@@ -1295,7 +1295,7 @@ static void command_jump(struct iptables_command_state *cs)
cs->target->t = xtables_calloc(1, size);
cs->target->t->u.target_size = size;
- if (cs->target->real_name != NULL)
+ if (strcmp(cs->target->real_name, "standard") == 0)
strcpy(cs->target->t->u.user.name, cs->jumpto);
else
strcpy(cs->target->t->u.user.name, cs->target->real_name);