[PATCH 09/21] net: dhcp: Allow to specify network device
Sascha Hauer
s.hauer at pengutronix.de
Mon Nov 27 23:50:58 PST 2017
Hi Sam,
On Sat, Nov 25, 2017 at 05:46:47PM +0100, Sam Ravnborg wrote:
> Hi Sasha.
>
> >
> > - dhcp_con = net_udp_new(0xffffffff, PORT_BOOTPS, dhcp_handler, NULL);
> > + dhcp_con = net_udp_eth_new(edev, 0xffffffff, PORT_BOOTPS, dhcp_handler, NULL);
>
> The constant 0xffffffff appears in a few places.
> A proper define would properly be better.
Ok, added a patch for it.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list