Removed unused variable ip_port from icmp_router_advertisment().

This commit is contained in:
Kees van Reeuwijk 2010-01-20 22:02:25 +00:00
parent a2c8ae42e9
commit 24964aa706

View file

@ -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)
{ {