diff options
author | fenner <fenner@FreeBSD.org> | 1999-01-19 23:17:03 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1999-01-19 23:17:03 +0000 |
commit | 1b9be3b5a8aed57d7ee12ba5025079529ea33d28 (patch) | |
tree | 15d391797234e1fd38c3b250c3b62a26a0ca1b88 | |
parent | 299738cfe463bd576897811afa3500cf4071ca1f (diff) | |
download | FreeBSD-src-1b9be3b5a8aed57d7ee12ba5025079529ea33d28.zip FreeBSD-src-1b9be3b5a8aed57d7ee12ba5025079529ea33d28.tar.gz |
Fix bug in last commit (la was used uninitialized if no route was passed in).
-rw-r--r-- | sys/netinet/if_ether.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index ba47450..4f57f64 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_ether.c 8.1 (Berkeley) 6/10/93 - * $Id: if_ether.c,v 1.50 1999/01/10 17:40:10 luigi Exp $ + * $Id: if_ether.c,v 1.51 1999/01/18 01:54:36 fenner Exp $ */ /* @@ -327,7 +327,7 @@ arpresolve(ac, rt, m, dst, desten, rt0) register u_char *desten; struct rtentry *rt0; { - register struct llinfo_arp *la; + register struct llinfo_arp *la = 0; struct sockaddr_dl *sdl; if (m->m_flags & M_BCAST) { /* broadcast */ |