Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scapy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
scapy
Commits
3238df95
Commit
3238df95
authored
7 years ago
by
Pierre Lalet
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #615 from phil777/master
Added some pipe objects
parents
e936a205
7dbb000b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scapy/layers/tftp.py
+1
-1
1 addition, 1 deletion
scapy/layers/tftp.py
with
1 addition
and
1 deletion
scapy/layers/tftp.py
+
1
−
1
View file @
3238df95
...
...
@@ -318,7 +318,7 @@ class TFTP_WRQ_server(Automaton):
self
.
ip
=
ip
.
dst
self
.
dst
=
ip
.
src
self
.
filename
=
pkt
[
TFTP_WRQ
].
filename
options
=
pkt
[
TFTP_Options
]
options
=
pkt
.
getlayer
(
TFTP_Options
)
self
.
l3
=
IP
(
src
=
ip
.
dst
,
dst
=
ip
.
src
)
/
UDP
(
sport
=
self
.
my_tid
,
dport
=
pkt
.
sport
)
/
TFTP
()
if
options
is
None
:
self
.
last_packet
=
self
.
l3
/
TFTP_ACK
(
block
=
0
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment