Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the chwaddr field in Bootp to chaddr #129

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ file is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and
this project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Rename the `chwaddr` field in `Bootp` to `chaddr`.

## [0.19.0] - 2024-06-28

### Added
Expand Down Expand Up @@ -269,6 +275,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).

- Move from giganto

[Unreleased]: https://github.com/aicers/giganto-client/compare/0.19.0...main
[0.19.0]: https://github.com/aicers/giganto-client/compare/0.18.0...0.19.0
[0.18.0]: https://github.com/aicers/giganto-client/compare/0.17.0...0.18.0
[0.17.0]: https://github.com/aicers/giganto-client/compare/0.16.0...0.17.0
Expand Down
4 changes: 2 additions & 2 deletions src/ingest/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ pub struct Bootp {
pub yiaddr: IpAddr,
pub siaddr: IpAddr,
pub giaddr: IpAddr,
pub chwaddr: Vec<u8>,
pub chaddr: Vec<u8>,
pub sname: String,
pub file: String,
}
Expand All @@ -932,7 +932,7 @@ impl Display for Bootp {
self.yiaddr,
self.siaddr,
self.giaddr,
vec_to_string_or_default(&self.chwaddr),
vec_to_string_or_default(&self.chaddr),
as_str_or_default(&self.sname),
as_str_or_default(&self.file),
)
Expand Down
Loading