From: James Morris Date: Fri, 24 Mar 2000 02:13:51 +0000 (+0000) Subject: James Morris's problem with libiptc when listing the builtin X-Git-Tag: v1.1.0~35 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f4e5d92c73906e0dc2ae42fee5c05740528e92b;p=thirdparty%2Fiptables.git James Morris's problem with libiptc when listing the builtin queue target. --- diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c index e96c0a97..3d7e3657 100644 --- a/libiptc/libiptc.c +++ b/libiptc/libiptc.c @@ -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",