aboutsummaryrefslogtreecommitdiffstats
path: root/efi/udp.c
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2015-07-18 07:52:43 -0400
committerGene Cumm <gene.cumm@gmail.com>2015-07-18 07:52:43 -0400
commita328beeb6d8ef595487cd731e8a271895c4662e0 (patch)
tree39f56b33c5462a05ba416f7662dfaff4a48942f5 /efi/udp.c
parent862dd3950e73e18fd261b55c3847c6ba5bcf70ff (diff)
downloadsyslinux-a328beeb6d8ef595487cd731e8a271895c4662e0.tar.gz
syslinux-a328beeb6d8ef595487cd731e8a271895c4662e0.tar.xz
syslinux-a328beeb6d8ef595487cd731e8a271895c4662e0.zip
efi/udp: Don't use AllowPromiscuous
Unnecessary. On some systems, opens NIC in promiscuous mode or breaks UseDefaultAddress. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'efi/udp.c')
-rw-r--r--efi/udp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/efi/udp.c b/efi/udp.c
index 5ada0463..4d99c566 100644
--- a/efi/udp.c
+++ b/efi/udp.c
@@ -155,7 +155,6 @@ void core_udp_connect(struct pxe_pvt_inode *socket, uint32_t ip,
udata.UseDefaultAddress = TRUE;
memcpy(&udata.RemoteAddress, &ip, sizeof(ip));
udata.RemotePort = port;
- udata.AcceptPromiscuous = TRUE;
udata.TimeToLive = 64;
status = core_udp_configure(udp, &udata, L"core_udp_connect");
@@ -377,7 +376,6 @@ void core_udp_sendto(struct pxe_pvt_inode *socket, const void *data,
udata.UseDefaultAddress = TRUE;
memcpy(&udata.RemoteAddress, &ip, sizeof(ip));
udata.RemotePort = port;
- udata.AcceptPromiscuous = TRUE;
udata.TimeToLive = 64;
status = core_udp_configure(udp, &udata, L"core_udp_sendto");