summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-01-27 07:57:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-01-27 07:57:04 +0000
commitc1362b1bd17ff6236640365b9454189a68b3f6a6 (patch)
tree41c2372e22735dd667db9a82a3f7c63dbc7783f3 /sys
parent0b71e17d3727fd3e4a41c733e0ec0e56d7f40650 (diff)
more #define fallout from union hiding in siginfo
Diffstat (limited to 'sys')
-rw-r--r--sys/netccitt/llc_subr.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/netccitt/llc_subr.c b/sys/netccitt/llc_subr.c
index 88c9e6486b3..785e83e276a 100644
--- a/sys/netccitt/llc_subr.c
+++ b/sys/netccitt/llc_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: llc_subr.c,v 1.3 1996/05/10 12:31:16 deraadt Exp $ */
+/* $OpenBSD: llc_subr.c,v 1.4 1997/01/27 07:57:03 deraadt Exp $ */
/* $NetBSD: llc_subr.c,v 1.5 1996/05/07 02:36:08 thorpej Exp $ */
/*
@@ -299,19 +299,19 @@ llc_getsapinfo(sap, ifp)
struct ifnet *ifp;
{
struct sockaddr_dl *ifdl_addr;
- struct sockaddr_dl si_addr;
+ struct sockaddr_dl siaddr;
struct rtentry *sirt;
u_char saploc;
USES_AF_LINK_RTS;
ifdl_addr = sdl_getaddrif(ifp);
- sdl_copy(ifdl_addr, &si_addr);
- saploc = LLSAPLOC(&si_addr, ifp);
- si_addr.sdl_data[saploc] = sap;
- si_addr.sdl_alen++;
+ sdl_copy(ifdl_addr, &siaddr);
+ saploc = LLSAPLOC(&siaddr, ifp);
+ siaddr.sdl_data[saploc] = sap;
+ siaddr.sdl_alen++;
- if ((sirt = rtalloc1((struct sockaddr *) & si_addr, 0)))
+ if ((sirt = rtalloc1((struct sockaddr *) & siaddr, 0)))
sirt->rt_refcnt--;
else
return (0);