Commit 9f355f53 authored by Florent Fourcot's avatar Florent Fourcot

nfctsocket: allow to pass custom arguments to parent class

parent 920c7ac7
......@@ -587,8 +587,8 @@ class NFCTSocket(NetlinkSocket):
def __init__(self, nfgen_family=socket.AF_INET):
super(NFCTSocket, self).__init__(family=NETLINK_NETFILTER)
def __init__(self, nfgen_family=socket.AF_INET, **kwargs):
super(NFCTSocket, self).__init__(family=NETLINK_NETFILTER, **kwargs)
self._nfgen_family = nfgen_family
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment