19 lines
1.0 KiB
Plaintext
19 lines
1.0 KiB
Plaintext
$OpenBSD: patch-scan-engine_cc,v 1.8 2016/01/07 13:23:47 giovanni Exp $
|
|
|
|
pcap_filter changes: to deal with base libpcap which doesn't support sctp
|
|
(not currently needed as using internal libpcap)
|
|
|
|
Format changes for 64-bit time_t, should go upstream
|
|
|
|
--- scan_engine.cc.orig Wed Jun 3 15:01:29 2015
|
|
+++ scan_engine.cc Tue Dec 29 10:47:48 2015
|
|
@@ -2011,7 +2011,7 @@ void ultrascan_host_probe_update(UltraScanInfo *USI, H
|
|
struct timeval tv;
|
|
|
|
gettimeofday(&tv, NULL);
|
|
- log_write(LOG_STDOUT, "%s called for machine %s state %s -> %s (trynum %d time: %ld)\n", __func__, hss->target->targetipstr(), readhoststate(hss->target->flags), readhoststate(newstate), probe->tryno, (long) TIMEVAL_SUBTRACT(tv, probe->sent));
|
|
+ log_write(LOG_STDOUT, "%s called for machine %s state %s -> %s (trynum %d time: %lld)\n", __func__, hss->target->targetipstr(), readhoststate(hss->target->flags), readhoststate(newstate), probe->tryno, (time_t) TIMEVAL_SUBTRACT(tv, probe->sent));
|
|
}
|
|
|
|
ultrascan_host_pspec_update(USI, hss, probe->pspec(), newstate);
|