[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #10194] Make DHCP module more adjustable
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #10194] Make DHCP module more adjustable |
Date: |
Thu, 11 May 2023 14:31:51 -0400 (EDT) |
Follow-up Comment #4, patch #10194 (project lwip):
1) Now I get the purpose of that hook. Instead of making it too generic,
shouldn't we rather make it explicit and let the hook provide what's required
to request the old address? Because the way your example code looks, you're
making the application depend on lwIP internals and there's a very high risk
that your hook won't work with the next version of lwIP when internals have
changed.
You even could add a function 'dhcp_start_from_reboot(netif, old_address)'
that could be called instead of 'dhcp_start(netif)' after boot.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/patch/?10194>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/