Change the behaviour for adding DHCP options into a DHCP packet so that we now append options, rather than insert them in front of whatever options might already be present. Apparently, the DHCP relay logic on a Nortel 470-48T layer 2 switch cares about the order of DHCP options. If we build a DHCP packet pre-populated with some options, their order will now be preserved, except for encapsulated options. Signed-off-by: Marty Connor <mdc@etherboot.org>tags/v1.0.0-rc1
 Shao Miller
						
						16 年之前
							Shao Miller
						
						16 年之前
					|  |  | ||
| 103 |  | 103 |  | 
| 104 |  | 104 |  | 
| 105 |  | 105 |  | 
| 106 |  |  | |
|  | 106 |  | |
| 107 |  | 107 |  | 
| 108 |  | 108 |  | 
| 109 |  | 109 |  | 
|  |  | ||
| 136 |  | 136 |  | 
| 137 |  | 137 |  | 
| 138 |  | 138 |  | 
| 139 |  |  | |
| 140 |  |  | |
|  | 139 |  | |
|  | 140 |  | |
|  | 141 |  | |
|  | 142 |  | |
|  | 143 |  | |
|  | 144 |  | |
|  | 145 |  | |
|  | 146 |  | |
|  | 147 |  | |
| 141 |  | 148 |  | 
| 142 |  | 149 |  | 
| 143 |  | 150 |  | 
|  |  | ||
| 256 |  | 263 |  | 
| 257 |  | 264 |  | 
| 258 |  | 265 |  | 
| 259 |  |  | |
|  | 266 |  | |
| 260 |  | 267 |  | 
| 261 |  | 268 |  | 
| 262 |  | 269 |  | 
|  |  | ||
| 267 |  | 274 |  | 
| 268 |  | 275 |  | 
| 269 |  | 276 |  | 
|  | 277 |  | |
|  | 278 |  | |
|  | 279 |  | |
|  | 280 |  | |
| 270 |  | 281 |  | 
| 271 |  | 282 |  | 
| 272 |  | 283 |  |