Advertisement
Guest User

999-always-use-broadcast-for-renew.patch

a guest
Apr 23rd, 2022
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.42 KB | None | 0 0
  1. --- a/networking/udhcp/dhcpc.c
  2. +++ b/networking/udhcp/dhcpc.c
  3. @@ -1521,7 +1521,7 @@ int udhcpc_main(int argc UNUSED_PARAM, c
  4.              * Anyway, it does recover by eventually failing through
  5.              * into INIT_SELECTING state.
  6.              */
  7. -                   if (send_renew(server_id, requested_ip) >= 0) {
  8. +                   if (send_renew(0 /*INADDR_ANY*/, requested_ip) >= 0) {
  9.                         timeout = discover_timeout;
  10.                         packet_num++;
  11.                         continue;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement