| commit | 2a3e336daac918e2d52390a3d96041efba768784 | [log] [tgz] |
|---|---|---|
| author | Jan Schär <jan@monogon.tech> | Thu Jul 11 18:08:18 2024 +0200 |
| committer | Jan Schär <jan@monogon.tech> | Mon Jul 15 11:59:30 2024 +0000 |
| tree | 604e115fd5136e11fcff156c17b2cafc33ee318e | |
| parent | ba404a60ffd9e9a6143a3f6f7e57e400607a5cae [diff] |
m/n/c/n/dhcp4c: minor cleanup The DiscoverBackoff was not Reset initially, which means the first discovery started with a backoff of 500 ms (ExponentialBackOff default) instead of 1400 ms. Remove the unused lastBoundTransition field. If the backoff has no timeout and stateDeadline is not set, stateDeadlineExceeded should not be called (the discovering state does not define this function). This was actually already the case before, because NextBackOff never returns a duration smaller than 10 ms, but this change makes that more clear. Change-Id: I714a562d8901fba69afaf6b779c6db310577fca5 Reviewed-on: https://review.monogon.dev/c/monogon/+/3215 Tested-by: Jenkins CI Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
This is the main repository containing the source code for the Monogon Platform.
This is pre-release software - take a look, and check back later! In the meantime, join us on Matrix (#monogon-os-community:matrix.org) or Discord.
Our build environment is self-contained and requires only minimal host dependencies:
/dev/kvm (if you want to run tests).Our docs assume that Bazelisk is available as bazel on your PATH.
Refer to SETUP.md for detailed instructions.
The source code lives in //metropolis (Metropolis is the codename of Monogon OS).
See the //metropolis/README.md for a developer quick start guide, or see the Monogon OS Handbook for user documentation.