Commit 8b83c3cf authored by bee26's avatar bee26
Browse files

Update get_arp.py

parent 0a20109c
Pipeline #32218 failed with stages
in 22 seconds
......@@ -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):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment