The max_len field is never used, and the len field is used only by dhcp_tx(). Remove these two fields, and perform the necessary trivial calculation in dhcp_tx() instead. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
22 |
|
22 |
|
23 |
|
23 |
|
24 |
|
24 |
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
25 |
|
30 |
|
26 |
|
31 |
|
27 |
|
|
|
||
54 |
|
50 |
|
55 |
|
51 |
|
56 |
|
52 |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
57 |
|
63 |
|
58 |
|
64 |
|
59 |
|
65 |
|
|
|
||
147 |
|
147 |
|
148 |
|
148 |
|
149 |
|
149 |
|
150 |
|
|
|
151 |
|
150 |
|
152 |
|
151 |
|
153 |
|
152 |
|
|
|
||
163 |
|
162 |
|
164 |
|
163 |
|
165 |
|
164 |
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
|
|
165 |
|
|
173 |
|
166 |
|
174 |
|
167 |
|
175 |
|
168 |
|
|
|
||
273 |
|
266 |
|
274 |
|
267 |
|
275 |
|
268 |
|
276 |
|
|
|
277 |
|
269 |
|
278 |
|
270 |
|
279 |
|
|
|
280 |
|
|
|
281 |
|
271 |
|
282 |
|
272 |
|
283 |
|
273 |
|
|
|
||
1122 |
|
1122 |
|
1123 |
|
1123 |
|
1124 |
|
1124 |
|
1125 |
|
|
|
|
1125 |
|
|
1126 |
|
1126 |
|
1127 |
|
1127 |
|
1128 |
|
1128 |
|