X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d52fe63fc81f7e44faaae711812a211a78434976..9bccf70c0258c7cac2dcb80011b2a964d884c552:/bsd/net/if_fddisubr.c diff --git a/bsd/net/if_fddisubr.c b/bsd/net/if_fddisubr.c index 9f893cba4..dd1ef3a32 100644 --- a/bsd/net/if_fddisubr.c +++ b/bsd/net/if_fddisubr.c @@ -88,32 +88,10 @@ #include #endif -#if NS -#include -#include -#endif - #if DECNET #include #endif -#if ISO -#include -#include -#include -#include -#endif - -#if LLC -#include -#include -#endif - - -#if LLC && CCITT -extern struct ifqueue pkintrq; -#endif - #include "bpfilter.h" #define senderr(e) { error = (e); goto bad;} @@ -161,7 +139,7 @@ fddi_output(ifp, m0, dst, rt0) if (rt = rt0) { if ((rt->rt_flags & RTF_UP) == 0) { if (rt0 = rt = RTALLOC1(dst, 1)) - rt->rt_refcnt--; + rtunref(rt); else senderr(EHOSTUNREACH); }