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 cc7ae5f commit f18a976Copy full SHA for f18a976
netfilterqueue/_impl.pyx
@@ -153,18 +153,11 @@ cdef class Packet:
153
154
cpdef bytes get_payload(self):
155
"""Return payload as Python string."""
156
- print('-----------------')
157
- for k, v in self.__dict__.items():
158
- print(k,v)
159
- print('----------------')
160
if self._given_payload:
161
- print('Given!')
162
return self._given_payload
163
elif self._owned_payload:
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