some more ipv6 code
This commit is contained in:
parent
d5e60b1ba0
commit
a53cf6534d
12 changed files with 528 additions and 60 deletions
|
@ -695,6 +695,13 @@ grub_net_recv_tcp_packet (struct grub_net_buff *nb,
|
|||
grub_net_tcp_socket_t sock;
|
||||
grub_err_t err;
|
||||
|
||||
/* Ignore broadcast. */
|
||||
if (!inf)
|
||||
{
|
||||
grub_netbuff_free (nb);
|
||||
return GRUB_ERR_NONE;
|
||||
}
|
||||
|
||||
tcph = (struct tcphdr *) nb->data;
|
||||
if ((grub_be_to_cpu16 (tcph->flags) >> 12) < 5)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue