Removed unused variable ip_port from icmp_router_advertisment().
This commit is contained in:
parent
a2c8ae42e9
commit
24964aa706
1 changed files with 0 additions and 2 deletions
|
@ -1002,7 +1002,6 @@ icmp_hdr_t *icmp_hdr;
|
||||||
u16_t lifetime;
|
u16_t lifetime;
|
||||||
int i;
|
int i;
|
||||||
char *bufp;
|
char *bufp;
|
||||||
ip_port_t *ip_port;
|
|
||||||
|
|
||||||
if (icmp_len < 8)
|
if (icmp_len < 8)
|
||||||
{
|
{
|
||||||
|
@ -1051,7 +1050,6 @@ icmp_hdr_t *icmp_hdr;
|
||||||
lifetime));
|
lifetime));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ip_port= &ip_port_table[icmp_port->icp_ipport];
|
|
||||||
for (i= 0, bufp= (char *)&icmp_hdr->ih_dun.uhd_data[0]; i< entries; i++,
|
for (i= 0, bufp= (char *)&icmp_hdr->ih_dun.uhd_data[0]; i< entries; i++,
|
||||||
bufp += entry_size)
|
bufp += entry_size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue