Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/816369/?format=api
{ "id": 816369, "url": "http://patchwork.ozlabs.org/api/patches/816369/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20170920165409.11456-2-phil@nwl.cc/", "project": { "id": 26, "url": "http://patchwork.ozlabs.org/api/projects/26/?format=api", "name": "Netfilter Development", "link_name": "netfilter-devel", "list_id": "netfilter-devel.vger.kernel.org", "list_email": "netfilter-devel@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170920165409.11456-2-phil@nwl.cc>", "list_archive_url": null, "date": "2017-09-20T16:54:08", "name": "[iptables,1/2] utils: nfnl_osf: Fix synopsis in help text", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "9f3be08514b533ea19369549bc0e3e9eee727edc", "submitter": { "id": 4285, "url": "http://patchwork.ozlabs.org/api/people/4285/?format=api", "name": "Phil Sutter", "email": "phil@nwl.cc" }, "delegate": { "id": 6139, "url": "http://patchwork.ozlabs.org/api/users/6139/?format=api", "username": "pablo", "first_name": "Pablo", "last_name": "Neira", "email": "pablo@netfilter.org" }, "mbox": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20170920165409.11456-2-phil@nwl.cc/mbox/", "series": [ { "id": 4178, "url": "http://patchwork.ozlabs.org/api/series/4178/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=4178", "date": "2017-09-20T16:54:07", "name": "Document nfnl_osf utility", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4178/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/816369/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/816369/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netfilter-devel-owner@vger.kernel.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netfilter-devel-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xy5SL4Smqz9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 02:54:26 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751367AbdITQy0 (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tWed, 20 Sep 2017 12:54:26 -0400", "from orbyte.nwl.cc ([151.80.46.58]:41434 \"EHLO orbyte.nwl.cc\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1750973AbdITQyZ (ORCPT <rfc822; netfilter-devel@vger.kernel.org>);\n\tWed, 20 Sep 2017 12:54:25 -0400", "from localhost ([::1]:35976 helo=xsao)\n\tby orbyte.nwl.cc with esmtp (Exim 4.89)\n\t(envelope-from <phil@nwl.cc>)\n\tid 1duiGW-0005q9-So; Wed, 20 Sep 2017 18:54:24 +0200" ], "From": "Phil Sutter <phil@nwl.cc>", "To": "Pablo Neira Ayuso <pablo@netfilter.org>", "Cc": "netfilter-devel@vger.kernel.org", "Subject": "[iptables PATCH 1/2] utils: nfnl_osf: Fix synopsis in help text", "Date": "Wed, 20 Sep 2017 18:54:08 +0200", "Message-Id": "<20170920165409.11456-2-phil@nwl.cc>", "X-Mailer": "git-send-email 2.13.1", "In-Reply-To": "<20170920165409.11456-1-phil@nwl.cc>", "References": "<20170920165409.11456-1-phil@nwl.cc>", "Sender": "netfilter-devel-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netfilter-devel.vger.kernel.org>", "X-Mailing-List": "netfilter-devel@vger.kernel.org" }, "content": "* -d is optional\n* -h is not really a flag, just anything not recognized triggers the\n help output.\n* That '<del rules>' bit is rather confusing than helpful.\n\nSigned-off-by: Phil Sutter <phil@nwl.cc>\n---\n utils/nfnl_osf.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/utils/nfnl_osf.c b/utils/nfnl_osf.c\nindex 645ec648fcc63..720e3a38dbd36 100644\n--- a/utils/nfnl_osf.c\n+++ b/utils/nfnl_osf.c\n@@ -438,7 +438,7 @@ int main(int argc, char *argv[])\n \t\t\t\tbreak;\n \t\t\tdefault:\n \t\t\t\tfprintf(stderr,\n-\t\t\t\t\t\"Usage: %s -f fingerprints -d <del rules> -h\\n\",\n+\t\t\t\t\t\"Usage: %s -f fingerprints [-d]\\n\",\n \t\t\t\t\targv[0]);\n \t\t\t\treturn -1;\n \t\t}\n", "prefixes": [ "iptables", "1/2" ] }