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
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
scapy
Commits
e2c44b99
Commit
e2c44b99
authored
Sep 19, 2009
by
Dirk Loss
Browse files
Options
Downloads
Patches
Plain Diff
Fixed exception in canvas_dump() when fval was 0
parent
f22febc0
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
scapy/packet.py
+1
-1
1 addition, 1 deletion
scapy/packet.py
with
1 addition
and
1 deletion
scapy/packet.py
+
1
−
1
View file @
e2c44b99
...
...
@@ -468,7 +468,7 @@ Creates an EPS file describing a packet. If filename is not provided a temporary
for
fname
,
fval
,
fdump
in
fields
:
col
=
forecolor
.
next
()
ft
=
pyx
.
text
.
text
(
XSTART
,
(
YTXT
-
y
)
*
YMUL
,
r
"
\font\cmssfont=cmss10\cmssfont{%s}
"
%
tex_escape
(
fname
.
name
))
if
fval
is
not
None
:
if
isinstance
(
fval
,
str
)
:
if
len
(
fval
)
>
18
:
fval
=
fval
[:
18
]
+
"
[...]
"
else
:
...
...
...
...
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
sign in
to comment