Age | Commit message (Collapse) | Author |
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Tests that for the correct option code, the correct deserialization is
applied.
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
https://github.com/pierrec/lz4/issues/203
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Update dependencies
|
|
In particular, uio
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
GH workflows: Go support up to 1.20 and fix badge
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
Signed-off-by: Chris Koch <chrisko@google.com>
|
|
To pick up this change:
https://github.com/u-root/uio/commit/c3537552635f86c59cf805d1755fa656a2073922
Updates golang/go#57237
Signed-off-by: Brad Fitzpatrick <brad@danga.com>
|
|
Return error from RequestNetbootv4
|
|
The current behavior of `RequestNetbootv4` is potentially dangerous because when it reaches the max number of retries, it returns `conversation, nil` (line 91) back to the caller, even if `client.Exchange()` (line 77) returned an `err`. This leads to a situation where the caller will see `err == nil` but incorrect data returned via the other parameter.
This changes the behavior to match the behavior of `RequestNetbootv6`. If this change isn't allowed because it's not backwards compatible then we should at least consider returning `nil, nil` instead of `conversation, nil` on the final retry.
Signed-off-by: Avi <avibrender@gmail.com>
|
|
dhcpv4: make NewInform() formatting consistent with neighbors
|
|
|
|
dhcpv4: add test for NewInform() with modifiers
|
|
|
|
dhcpv4: fix require.NotNil() usage in tests
|
|
|
|
dhcpv4: return a new lease from Renew()
|
|
`NewInform()` exposes a consumer-facing interface that accepts modifiers, but
this functionality is never tested unlike with for example `NewRequest()` and
`NewRenew()`. To ensure that modifiers are correctly respected and any future
modifications won't break this support, add a modifier test for `NewInform()`.
Signed-off-by: Dennis Marttinen <twelho@welho.tech>
|
|
This is just a minor readability improvement that makes `NewInform()`
consistent with the neighboring functions like `NewRequest()`, `NewReply()`,
`NewRelease()` etc. Having the prepended modifiers on the same line helps
with separating the modifiers that provided by the function from the modifiers
passed in by the consumer of the function.
Signed-off-by: Dennis Marttinen <twelho@welho.tech>
|
|
Any parameter passed to `require.NotNil()` after the first two will not be
tested but instead appended to the message that is printed if the test fails.
This means that `lease.ACK` was never tested to not be nil.
Signed-off-by: Dennis Marttinen <twelho@welho.tech>
|
|
Signed-off-by: Dennis Marttinen <twelho@welho.tech>
|
|
Add Support for Labels Containing Partial Domain Names (RFC 4704 Section 4.2)
|
|
|
|
Signed-off-by: Erik Geiser <erik.geiser@redteam-pentesting.de>
|
|
[dhcpv4][client] fix lint
|
|
|
|
|
|
dhcpv4: support RENEW requests and option deletion
|
|
|
|
|
|
Update conn_unix.go
|
|
Add `SO_REUSEPORT` to aid in debugging and testing.
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
|
|
|