We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bde437c commit cf7c19dCopy full SHA for cf7c19d
netfilterqueue/_impl.pyx
@@ -153,13 +153,18 @@ cdef class Packet:
153
154
cpdef bytes get_payload(self):
155
"""Return payload as Python string."""
156
- print('Finally!!!!!!!!')
+ print('-----------------')
157
+ for attr in dir(self):
158
+ print("obj.%s = %r" % (attr, getattr(self, attr)))
159
+ print('----------------')
160
if self._given_payload:
161
+ print('Given!')
162
return self._given_payload
163
elif self._owned_payload:
- print('LUUUUL!')
164
+ print('Owned!')
165
return self._owned_payload
166
elif self.payload != NULL:
167
+ print('Payload!')
168
return self.payload[:self.payload_len]
169
elif self.payload_len == 0:
170
raise RuntimeError(
0 commit comments