PERFORCE change 153688 for review
Marko Zec
zec at FreeBSD.org
Fri Nov 28 02:11:33 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=153688
Change 153688 by zec at 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:
More information about the p4-projects
mailing list