Commit 8f64adf
cleanup: [tcpip-netman] drop dead PRE_LWIP_130_COMPAT, advertise NETIF_FLAG_ETHERNET
Symmetric with the earlier smap/main.c cleanup: lwIP 2.0.3 is
well past 1.3.0, so the SMapOutput() wrapper and ifdef forks in
SMapIFInit are dead code. Replace the conditional flag block with
a single line, and add NETIF_FLAG_ETHERNET to correctly mark the
netif as Ethernet — lwIP 2.0.3 defines this flag in netif.h:95
and certain code paths (e.g. when LWIP_ARP is disabled) branch
on it.
ps2link end-to-end test (execee over TCP) confirmed unaffected.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 08f50f7 commit 8f64adf
1 file changed
Lines changed: 2 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | 351 | | |
367 | 352 | | |
368 | 353 | | |
| |||
371 | 356 | | |
372 | 357 | | |
373 | 358 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
| 359 | + | |
379 | 360 | | |
380 | 361 | | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
| 362 | + | |
386 | 363 | | |
387 | 364 | | |
388 | 365 | | |
| |||
0 commit comments