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
3cf623f1
Commit
3cf623f1
authored
8 years ago
by
Guillaume Valadon
Committed by
Guillaume Valadon
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Missing import
parent
823bd4bd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scapy/arch/__init__.py
+1
-0
1 addition, 0 deletions
scapy/arch/__init__.py
with
1 addition
and
0 deletions
scapy/arch/__init__.py
+
1
−
0
View file @
3cf623f1
...
@@ -15,6 +15,7 @@ from scapy.consts import LINUX, OPENBSD, FREEBSD, NETBSD, DARWIN, \
...
@@ -15,6 +15,7 @@ from scapy.consts import LINUX, OPENBSD, FREEBSD, NETBSD, DARWIN, \
from
scapy.error
import
*
from
scapy.error
import
*
import
scapy.config
import
scapy.config
from
scapy.pton_ntop
import
inet_pton
from
scapy.pton_ntop
import
inet_pton
from
scapy.data
import
*
def
str2mac
(
s
):
def
str2mac
(
s
):
return
(
"
%02x:
"
*
6
)[:
-
1
]
%
tuple
(
map
(
ord
,
s
))
return
(
"
%02x:
"
*
6
)[:
-
1
]
%
tuple
(
map
(
ord
,
s
))
...
...
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