diff --git a/ChangeLog b/ChangeLog index 11091714..51d326f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14762,3 +14762,6 @@ enumeration in 'lib/rdmatrix.cpp' and 'lib/rdmatrix.h'. * Implemented a switcher driver for systems using Software Authority Protocol in 'ripcd/swauthority.cpp' and 'ripcd/swauthority.h'. +2015-02-21 Fred Gleason + * Fixed a bug in 'ripcd/swauthority.cpp' that failed to log + notification when reconnecting. diff --git a/ripcd/swauthority.cpp b/ripcd/swauthority.cpp index 148f35e1..130a2982 100644 --- a/ripcd/swauthority.cpp +++ b/ripcd/swauthority.cpp @@ -288,7 +288,7 @@ void SoftwareAuthority::DispatchCommand() // LogLine(RDConfig::LogNotice,QString().sprintf("RECEIVED: %s",(const char *)swa_buffer)); QString line_in=swa_buffer; - QString section=line_in.lower(); + QString section=line_in.lower().replace(">>",""); // // Startup Sequence. Get the input and output lists. @@ -311,12 +311,12 @@ void SoftwareAuthority::DispatchCommand() switch(swa_istate) { case 0: // No section selected - if(section==">>begin sourcenames - 1") { + if(section=="begin sourcenames - 1") { swa_istate=1; swa_inputs=0; return; } - if(section==">>begin destnames - 1") { + if(section=="begin destnames - 1") { swa_istate=2; swa_outputs=0; return;