From 6218f3ba5075208d50977dee655270206b738b48 Mon Sep 17 00:00:00 2001 From: Matt Fox Date: Thu, 15 Dec 2016 01:41:55 -0800 Subject: [PATCH] Update README with 0.8 download source and add get_hw() documentation. --- README.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 84e980c..7e04b01 100644 --- a/README.rst +++ b/README.rst @@ -81,9 +81,9 @@ From source To install from source:: - wget https://pypi.python.org/packages/7b/c3/204d47c1c47a7fd6ac1e4e341bdc6021f8142e6c7b6e488436592a6d2488/NetfilterQueue-0.7.tar.gz - tar -xvzf NetfilterQueue-0.7.tar.gz - cd NetfilterQueue-0.7 + wget https://pypi.python.org/packages/94/5b/83d10952c1312fe056f8f2f524a4a59fdc9d56b84a67cae1ed779e2da50b/NetfilterQueue-0.8.tar.gz#md5=8e78db992ad3a73dd86fef05293fff65 + tar -xvzf NetfilterQueue-0.8.tar.gz + cd NetfilterQueue-0.8 python setup.py install If Cython is installed, Distutils will use it to regenerate the .c source from the .pyx. It will then compile the .c into a .so. @@ -153,6 +153,9 @@ Objects of this type are passed to your callback. ``Packet.get_mark()`` Get the mark already on the packet. +``Packet.get_hw()`` + Return the hardware address as a Python string. + ``Packet.accept()`` Accept the packet.