Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
8b83c3cf
Commit
8b83c3cf
authored
Jun 17, 2021
by
bee26
Browse files
Update get_arp.py
parent
0a20109c
Pipeline
#32218
failed with stages
in 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
sa/profiles/Eltex/LTE/get_arp.py
View file @
8b83c3cf
...
...
@@ -22,7 +22,8 @@ class Script(BaseScript):
r
"^\s*\d+\s+port\s+(?P<interface>\d+)\s+"
r
"(?P<mac>\S+)\s+(?P<ip>\d+\S+)"
,
re
.
MULTILINE
)
rx_line2
=
re
.
compile
(
r
"^\s*(?P<vlan>\d+)\s+(?P<ip>\d+\S+)\s+(?P<mac>\S+)\s+(?P<interface>\S+\s\d+)\s+"
,
re
.
MULTILINE
r
"^\s*(?P<vlan>\d+)\s+(?P<ip>\d+\S+)\s+(?P<mac>\S+)\s+(?P<interface>\S+\s\d+)\s+"
,
re
.
MULTILINE
)
def
execute
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment