diff options
Diffstat (limited to 'net/dhcp.c')
-rw-r--r-- | net/dhcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dhcp.c b/net/dhcp.c index c5386fe942..4d74733d37 100644 --- a/net/dhcp.c +++ b/net/dhcp.c @@ -661,7 +661,7 @@ int dhcp(int retries, struct dhcp_req_param *param) if (!retries) retries = DHCP_DEFAULT_RETRY; - dhcp_con = net_udp_new(0xffffffff, PORT_BOOTPS, dhcp_handler, NULL); + dhcp_con = net_udp_new(IP_BROADCAST, PORT_BOOTPS, dhcp_handler, NULL); if (IS_ERR(dhcp_con)) { ret = PTR_ERR(dhcp_con); goto out; |