Use more descriptive names for the channels

pull/1300/head
Isaac Connor 2016-02-19 11:05:55 -05:00
parent 64c5b64068
commit 3b07b56400
1 changed files with 2 additions and 2 deletions

View File

@ -135,14 +135,14 @@ use ZoneMinder::Trigger::Connection;
my @connections; my @connections;
push( @connections, push( @connections,
ZoneMinder::Trigger::Connection->new( ZoneMinder::Trigger::Connection->new(
name=>"Chan1", name=>"Chan1 TCP on port 6802",
channel=>ZoneMinder::Trigger::Channel::Inet->new( port=>6802 ), channel=>ZoneMinder::Trigger::Channel::Inet->new( port=>6802 ),
mode=>"rw" mode=>"rw"
) )
); );
push( @connections, push( @connections,
ZoneMinder::Trigger::Connection->new( ZoneMinder::Trigger::Connection->new(
name=>"Chan2", name=>"Chan2 Unix Socket at " $Config{ZM_PATH_SOCKS}.'/zmtrigger.sock',
channel=>ZoneMinder::Trigger::Channel::Unix->new( channel=>ZoneMinder::Trigger::Channel::Unix->new(
path=>$Config{ZM_PATH_SOCKS}.'/zmtrigger.sock' path=>$Config{ZM_PATH_SOCKS}.'/zmtrigger.sock'
), ),