Skip to content

Commit 60b7d9e

Browse files
committed
fix: Fix RemoteInventory can not be started during netscan
1 parent 35a8190 commit 60b7d9e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ netdiscovery/netinventory:
4141
* When looking for privateoid rule in MibSupport search, the rule must match on
4242
defined value, even if the private oid returns zero.
4343
* fix #590: Add Pantum printer support
44+
* Fix RemoteInventory not run during netscan if any any of other test is failing,
45+
meaning RemoteInventory was functionnal only if at least ping works or the
46+
targeted computer was in the same network (arp works).
4447

4548
deploy:
4649
* Force agent to run a partial software inventory after the deploy task is done
@@ -49,6 +52,7 @@ deploy:
4952
toolbox:
5053
* fix #532: Make libssh2 use the right place when looking for known_hosts file
5154
on windows
55+
* Fix RemoteInventory can not be started during netscan
5256

5357
packaging:
5458
* Update MacOSX to use perl 5.38.2, OpenSSL 3.2.1 and zlib 1.3.1

lib/GLPI/Agent/Task/NetDiscovery.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,7 @@ sub _scanAddress {
698698

699699
# don't report anything without a minimal amount of information
700700
return unless
701+
$device{AUTHREMOTE} ||
701702
$device{MAC} ||
702703
$device{SNMPHOSTNAME} ||
703704
$device{DNSHOSTNAME} ||

0 commit comments

Comments
 (0)