Skip to content

Commit

Permalink
fix(lwip): remove server id option in dhcp renew packet
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang Jun Hao committed Feb 20, 2019
1 parent 3b23f9d commit 06c1241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/lwip/core/dhcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1101,12 +1101,12 @@ dhcp_renew(struct netif *netif)
}
#endif /* LWIP_NETIF_HOSTNAME */

#if 1
#if 0
dhcp_option(dhcp, DHCP_OPTION_REQUESTED_IP, 4);
dhcp_option_long(dhcp, ntohl(dhcp->offered_ip_addr.addr));
#endif

#if 1
#if 0
dhcp_option(dhcp, DHCP_OPTION_SERVER_ID, 4);
dhcp_option_long(dhcp, ntohl(dhcp->server_ip_addr.addr));
#endif
Expand Down

0 comments on commit 06c1241

Please sign in to comment.