summaryrefslogtreecommitdiffstats
path: root/py
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2018-06-19 23:46:54 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-06-20 13:51:41 +0200
commite23c584db7c7c5db00f35505d1955abfc19b27f1 (patch)
tree66214bb92b332af79ecd5c05bcb9d7dde158fcec /py
parentbf9653667a39e32973466a202fdf9edcf881075a (diff)
python: set license and author in nftables.py
It will be distributed separately so this worth setting things correctly. Signed-off-by: Eric Leblond <eric@regit.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'py')
-rw-r--r--py/nftables.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/py/nftables.py b/py/nftables.py
index d6135054..e725c564 100644
--- a/py/nftables.py
+++ b/py/nftables.py
@@ -1,3 +1,19 @@
+#!/usr/bin/python
+# Copyright(C) 2018 Phil Sutter <phil@nwl.cc>
+
+# 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