diff --git a/doc/whats_new.md b/doc/whats_new.md index 9052f1a..c476b65 100644 --- a/doc/whats_new.md +++ b/doc/whats_new.md @@ -1,16 +1,21 @@ # What's new? -## v0.1.4 +## v0.1.5 -* Support POTA DIF output +* Fix "S2S contacts not recognized properly" (issue #78) + + +## Previous releases + +### v0.1.4 + +* Support POTA ADIF output * Tabs can be used as delimiter in the header section (issue #70) * Frequency can now be specified up to 500Hz without truncation (issue #71) * Enabled Homebrew distribution -## Previous releases - ### v0.1.3 * Enable FLEcli to generate CSV chaser logs diff --git a/fleprocess/parse_line.go b/fleprocess/parse_line.go index 029efba..f5205c1 100644 --- a/fleprocess/parse_line.go +++ b/fleprocess/parse_line.go @@ -205,10 +205,10 @@ func ParseLine(inputStr string, previousLine LogLine) (logLine LogLine, errorMsg } // Is it a call sign ? - //FIXME: (don't remember what) if validCallRegexp.MatchString(strings.ToUpper(element)) { //If it starts with "#",it is a grid definition and not a call - if element[0] != '#' { + //If the potential callsign contains a dash, it is a Sota reference + if (element[0] != '#') && (!strings.Contains(element, "-")) { callErrorMsg := "" logLine.Call, callErrorMsg = ValidateCall(element) errorMsg = errorMsg + callErrorMsg