Release 1.0.6 (#70)

This commit is contained in:
aceberg 2024-01-06 00:11:28 +07:00
parent a7f8dd58f2
commit d78937852e
3 changed files with 6 additions and 2 deletions

View file

@ -2,6 +2,10 @@
# Change Log
All notable changes to this project will be documented in this file.
## [v1.0.5] - 2024-01-06
### Fixed
- Sort by `Known` field bug [#70](https://github.com/aceberg/WatchYourLAN/issues/70)
## [v1.0.5] - 2024-01-05
### Added
- Goreleaser for binaries [#66](https://github.com/aceberg/WatchYourLAN/issues/66)

View file

@ -91,7 +91,7 @@ func sortByField(method string, field string) {
r := reflect.ValueOf(&host)
f := reflect.Indirect(r).FieldByName(field)
if field == "Known" {
oneSort.F = strconv.FormatUint(f.Uint(), 10)
oneSort.F = strconv.FormatInt(f.Int(), 10)
} else {
oneSort.F = f.String()
}

View file

@ -1 +1 @@
VERSION=1.0.5
VERSION=1.0.6