Date: Fri, 28 Nov 2008 10:11:32 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 153688 for review Message-ID: <200811281011.mASABWDh007902@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=153688 Change 153688 by zec@zec_tpx32 on 2008/11/28 10:11:28 SA_SIZE() is defined in net/route.h which is now implicitly #included, so no need to have our own version here (I hope so). Affected files ... .. //depot/projects/vimage-commit2/src/sys/netgraph/ng_eiface.c#12 edit Differences ... ==== //depot/projects/vimage-commit2/src/sys/netgraph/ng_eiface.c#12 (text+ko) ==== @@ -447,10 +447,6 @@ caddr_t ptr; int buflen; -#if 0 /* XXX SA_SIZE(s) defined in net/route.h */ -#define SA_SIZE(s) ((s)->sa_len<sizeof(*(s))? sizeof(*(s)):(s)->sa_len) -#endif - /* Determine size of response and allocate it */ buflen = 0; TAILQ_FOREACH(ifa, &ifp->if_addrhead, ifa_link) @@ -476,7 +472,6 @@ buflen -= len; } break; -#undef SA_SIZE } default:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811281011.mASABWDh007902>