]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
James Morris's problem with libiptc when listing the builtin
authorJames Morris <jmorris@intercode.com.au>
Fri, 24 Mar 2000 02:13:51 +0000 (02:13 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 24 Mar 2000 02:13:51 +0000 (02:13 +0000)
queue target.

libiptc/libiptc.c

index e96c0a97d270b0c3b0ebf424112737faf8112eb0..3d7e365782dccfdd64ceb5ecea33ffbb2d6d21d5 100644 (file)
@@ -544,7 +544,7 @@ static const char *target_name(iptc_handle_t handle, struct ipt_entry *e)
                        return IPTC_LABEL_ACCEPT;
                else if (spos == -NF_DROP-1)
                        return IPTC_LABEL_DROP;
-               else if (spos == -NF_ACCEPT-1)
+               else if (spos == -NF_QUEUE-1)
                        return IPTC_LABEL_QUEUE;
 
                fprintf(stderr, "ERROR: off %lu/%u not a valid target (%i)\n",