From patchwork Tue Jun 19 21:46:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Leblond X-Patchwork-Id: 931861 X-Patchwork-Delegate: pablo@netfilter.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netfilter-devel-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=regit.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 419M5b4567z9s47 for ; Wed, 20 Jun 2018 07:48:03 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967384AbeFSVr6 (ORCPT ); Tue, 19 Jun 2018 17:47:58 -0400 Received: from home.regit.org ([37.187.126.138]:53344 "EHLO home.regit.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964888AbeFSVrZ (ORCPT ); Tue, 19 Jun 2018 17:47:25 -0400 Received: from [2a01:e35:2fb6:1160:a115:3711:d77b:3dea] (helo=localhost.localdomain) by home.regit.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1fVOTC-00014i-Ha; Tue, 19 Jun 2018 23:47:23 +0200 From: Eric Leblond To: pablo@netfilter.org Cc: netfilter-devel@vger.kernel.org, Phil Sutter , Eric Leblond Subject: [PATCH nft v2 5/7] python: set license and author in nftables.py Date: Tue, 19 Jun 2018 23:46:54 +0200 Message-Id: <20180619214656.25636-6-eric@regit.org> X-Mailer: git-send-email 2.18.0.rc2 In-Reply-To: <20180619214656.25636-1-eric@regit.org> References: <9fdfaa849a662a7a1e31d9887a9168992913083a.camel@regit.org> <20180619214656.25636-1-eric@regit.org> Reply-To: 9fdfaa849a662a7a1e31d9887a9168992913083a.camel@regit.org X-Spam-Score: -1.0 (-) Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org It will be distributed separately so this worth setting things correctly. --- py/nftables.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/py/nftables.py b/py/nftables.py index d613505..e725c56 100644 --- a/py/nftables.py +++ b/py/nftables.py @@ -1,3 +1,19 @@ +#!/usr/bin/python +# Copyright(C) 2018 Phil Sutter + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + import json from ctypes import * import sys