- Timestamp:
- Jan 4, 2018, 5:32:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/klask
r384 r385 1578 1578 1579 1579 if (not $ip or not $mac or not $net) { 1580 print {*STDERR} "Error: mandatory parameter --ip $ip\n"if not $ip;1581 print {*STDERR} "Error: mandatory parameter --mac $mac\n" if not $mac;1582 print {*STDERR} "Error: mandatory parameter --network $net\n" if not $net;1580 print {*STDERR} "Error: mandatory parameter --ip\n" if not $ip; 1581 print {*STDERR} "Error: mandatory parameter --mac\n" if not $mac; 1582 print {*STDERR} "Error: mandatory parameter --network\n" if not $net; 1583 1583 print {*STDERR} "\n"; 1584 1584 $CMD_DB{'help'}->(); … … 1626 1626 } 1627 1627 1628 $timestamp--; # Just decrement one second to be oldier 1628 # default: 1629 # days-before-alert: 15 1630 1631 $timestamp -= 15 * 24 * 3600 + 1; # Just decrement one second to be oldier 1629 1632 1630 1633 $computerdb->{$ip} = {
Note: See TracChangeset
for help on using the changeset viewer.