Skip to content

Commit

Permalink
fix bug in nxcmd option -Z displaying zones that were never tripped
Browse files Browse the repository at this point in the history
  • Loading branch information
tjko committed Sep 26, 2015
1 parent ebfd8b7 commit fb81d81
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Expand Up @@ -4,7 +4,7 @@
# Makefile for nxgipd
#

Version = 1.1.0
Version = 1.1.1beta
PKGNAME = nxgipd

BuildDate = $(shell date +%Y-%m-%d)
Expand Down
6 changes: 4 additions & 2 deletions README
@@ -1,5 +1,5 @@
nxgipd v1.1.0
=============
nxgipd v1.1.1beta
=================

nxgipd is a monitoring daemon for UTC Interlogix/GE Security/Caddx NetworX
series alarm systems that use the NetworX NX-584 protocol.
Expand Down Expand Up @@ -109,6 +109,8 @@ SERIAL INTERFACE CONFIGURATION


HISTORY
v1.1.1beta
- minor bug fixes
v1.1.0 - new configuration setting 'savestatus' to specify status file
saving interval
- SIGUSR1 signal can now be used to tell daemon to save status
Expand Down
2 changes: 1 addition & 1 deletion nxstat.c
Expand Up @@ -686,7 +686,7 @@ int main(int argc, char **argv)
tmp[0]=0;
}

if (display_all || zn->last_updated > 0)
if (display_all || zn->last_tripped > 0)
printf((csv_mode ? "zone,%d,%s,%s,%s,%s,%s\n" : "%02d %-16s %-8s %-6s %s %s\n"),
zn->num,
zn->name,
Expand Down

0 comments on commit fb81d81

Please sign in to comment.