File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,8 @@ static struct dhcpd_daemon_s g_dhcpd_daemon =
308
308
* Name: dhcpd_arpupdate
309
309
****************************************************************************/
310
310
311
- #ifndef CONFIG_NETUTILS_DHCPD_HOST
311
+ #ifndef CONFIG_NETUTILS_DHCPD_IGNOREBROADCAST
312
+ # ifndef CONFIG_NETUTILS_DHCPD_HOST
312
313
static inline void dhcpd_arpupdate (FAR uint8_t * ipaddr , FAR uint8_t * hwaddr )
313
314
{
314
315
struct sockaddr_in inaddr ;
@@ -325,8 +326,9 @@ static inline void dhcpd_arpupdate(FAR uint8_t *ipaddr, FAR uint8_t *hwaddr)
325
326
326
327
netlib_set_arpmapping (& inaddr , hwaddr , NULL );
327
328
}
328
- #else
329
- # define dhcpd_arpupdate (ipaddr ,hwaddr )
329
+ # else
330
+ # define dhcpd_arpupdate (ipaddr ,hwaddr )
331
+ # endif
330
332
#endif
331
333
332
334
/****************************************************************************
You can’t perform that action at this time.
0 commit comments