diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2006-10-04 11:08:14 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2006-10-04 11:08:14 +0000 |
| commit | f7a679b200d4bc3c6051eb3aaf2f419d31072b9b (patch) | |
| tree | 9c6eaf24d0614d4724d056b1fbd51c96ca2c54a8 /sys/netinet/if_ether.c | |
| parent | 9b9a52b4964b1ed5354f9b327755ccdd665d809c (diff) | |
Notes
Diffstat (limited to 'sys/netinet/if_ether.c')
| -rw-r--r-- | sys/netinet/if_ether.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 1903f902bfc9..ff2f701c154f 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -591,8 +591,6 @@ in_arpinput(m) { struct arphdr *ah; struct ifnet *ifp = m->m_pkthdr.rcvif; - struct iso88025_header *th = (struct iso88025_header *)0; - struct iso88025_sockaddr_dl_data *trld; struct llinfo_arp *la; struct rtentry *rt; struct ifaddr *ifa; @@ -766,6 +764,9 @@ match: * routing info. */ if (ifp->if_type == IFT_ISO88025) { + struct iso88025_header *th = NULL; + struct iso88025_sockaddr_dl_data *trld; + th = (struct iso88025_header *)m->m_pkthdr.header; trld = SDL_ISO88025(sdl); rif_len = TR_RCF_RIFLEN(th->rcf); |
