mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-25 19:08:35 +00:00
[pxe] Fix broadcast transmissions via PXENV_UDP_WRITE
pxenv_udp_write() needs to specify a net device, otherwise ipv4 is unable to route broadcast transmissions.
This commit is contained in:
parent
30fb3b3810
commit
2090aade04
@ -255,6 +255,7 @@ PXENV_EXIT_t pxenv_udp_write ( struct s_PXENV_UDP_WRITE *pxenv_udp_write ) {
|
||||
struct xfer_metadata meta = {
|
||||
.src = ( struct sockaddr * ) &pxe_udp.local,
|
||||
.dest = ( struct sockaddr * ) &dest,
|
||||
.netdev = pxe_netdev,
|
||||
};
|
||||
size_t len;
|
||||
struct io_buffer *iobuf;
|
||||
|
Loading…
Reference in New Issue
Block a user