Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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.
  • Loading branch information
Michael Brown committed Aug 21, 2008
1 parent 30fb3b3 commit 2090aad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/interface/pxe/pxe_udp.c
Expand Up @@ -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;
Expand Down

0 comments on commit 2090aad

Please sign in to comment.