diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-03-15 16:41:35 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-03-15 16:41:35 +0000 |
commit | 5093ecd00f05546334f1bebd539e852f9c8065eb (patch) | |
tree | f93a35618986027636ba52ac7a75b5488e9bc218 | |
parent | f1887e0da7bc09e3b778fd7478c5d41c5fefb5b9 (diff) | |
download | FreeBSD-src-5093ecd00f05546334f1bebd539e852f9c8065eb.zip FreeBSD-src-5093ecd00f05546334f1bebd539e852f9c8065eb.tar.gz |
Fix formatting of iso88025_ifattach().
-rw-r--r-- | sys/net/if_iso88025subr.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c index 18b0169..2abd7c8 100644 --- a/sys/net/if_iso88025subr.c +++ b/sys/net/if_iso88025subr.c @@ -94,15 +94,15 @@ iso88025_ifattach(struct ifnet *ifp) ifp->if_mtu = ISO88025_DEFAULT_MTU; ifp->if_broadcastaddr = etherbroadcastaddr; - ifa = ifaddr_byindex(ifp->if_index); - if (ifa == 0) { - printf("iso88025_ifattach: no lladdr!\n"); - return; - } - sdl = (struct sockaddr_dl *)ifa->ifa_addr; - sdl->sdl_type = IFT_ISO88025; - sdl->sdl_alen = ifp->if_addrlen; - bcopy(IFP2AC(ifp)->ac_enaddr, LLADDR(sdl), ifp->if_addrlen); + ifa = ifaddr_byindex(ifp->if_index); + if (ifa == 0) { + printf("iso88025_ifattach: no lladdr!\n"); + return; + } + sdl = (struct sockaddr_dl *)ifa->ifa_addr; + sdl->sdl_type = IFT_ISO88025; + sdl->sdl_alen = ifp->if_addrlen; + bcopy(IFP2AC(ifp)->ac_enaddr, LLADDR(sdl), ifp->if_addrlen); } /* |