#365 Fix Checkpoint GAIA sshcollector (jcz1)
This commit is contained in:
11
Changes
11
Changes
@@ -1,3 +1,14 @@
|
|||||||
|
2.038031
|
||||||
|
|
||||||
|
[ENHANCEMENTS]
|
||||||
|
|
||||||
|
* Add Circle CI integration for building Docker Images
|
||||||
|
* Add support for many environment variables to override config (see wiki)
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* #365 Fix Checkpoint GAIA sshcollector (jcz1)
|
||||||
|
|
||||||
2.038028
|
2.038028
|
||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|||||||
@@ -66,7 +66,8 @@ sub arpnip {
|
|||||||
my @lines = split(m/\n/, $before);
|
my @lines = split(m/\n/, $before);
|
||||||
|
|
||||||
# ? (192.168.17.178) at 5C:F9:DD:71:1F:08 [ether] on LAN1
|
# ? (192.168.17.178) at 5C:F9:DD:71:1F:08 [ether] on LAN1
|
||||||
my $linereg = qr/\?\s+\(([0-9\.]+)\)\s+at\s+([a-fA-F0-9:]+)/;
|
# https://github.com/netdisco/netdisco/issues/365
|
||||||
|
my $linereg = qr/([0-9.]+)\s+ether\s+([a-fA-F0-9:]+).+/;
|
||||||
foreach my $line (@lines) {
|
foreach my $line (@lines) {
|
||||||
if ($line =~ $linereg) {
|
if ($line =~ $linereg) {
|
||||||
my ($ip, $mac) = ($1, $2);
|
my ($ip, $mac) = ($1, $2);
|
||||||
|
|||||||
Reference in New Issue
Block a user