-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create bfcp.py #635
base: master
Are you sure you want to change the base?
Create bfcp.py #635
Conversation
add bfcp
dpkt.Packet.unpack(self, buf) | ||
l_ = [] | ||
if self.f: | ||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unimplemented feature...
The Fragmentation (F) flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding this as a comment in code would be helpful
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it.
AttrType.PRIORITY): | ||
if AttrType.SUPPORTED_ATTRIBUTES == self.type: | ||
self.value = [d << 1 for d in self.value] | ||
data += struct.pack(f'!{len(self.value)}B', *self.value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build failed because the f-strings are not supported in older versions of python
add bfcp