Skip to content

Commit

Permalink
Merge pull request #94 from TheThingsNetwork/fix/session-export-ids
Browse files Browse the repository at this point in the history
Erase device address on no session
  • Loading branch information
adriansmares authored Oct 18, 2023
2 parents 20e0eec + 796e301 commit b3e7b3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Fixed

- Wrong flag name `appplication-server-grpc-address` fixed to `application-server-grpc-address`.
- `--ttnv3.no-session` no longer keeps the end device device address.

### Security

Expand Down
3 changes: 2 additions & 1 deletion pkg/source/tts/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@ func updateDeviceTimestamps(dev, src *ttnpb.EndDevice) {
func clearDeviceSession(dev *ttnpb.EndDevice) error {
return dev.SetFields(nil,
"activated_at",
"mac_state",
"ids.dev_addr",
"last_dev_status_received_at",
"last_seen_at",
"mac_state",
"pending_mac_state",
"pending_session",
"session",
Expand Down

0 comments on commit b3e7b3d

Please sign in to comment.