Commit 47b4329
authored
fix: add dhcp discover packet to linux swiftv2 to ensure mappings exist for dns (#2989)
* add dhcp client
* address linter issues
* issue dhcp discover request without libraries
* remove library references
* add build tag and remove rand dependency
* address linter issues
* update logging
* fix logging
* move unix sockets to interface to address feedback
* address linter issues
* prevent leaking sockets on error
* remove reuse address option
* add comments
* make dhcp client1 parent 0c48fa0 commit 47b4329
File tree
12 files changed
+564
-32
lines changed- cni/network
- dhcp
- network
12 files changed
+564
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
133 | | - | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
0 commit comments