PERFORCE change 114416 for review
Paolo Pisati
piso at FreeBSD.org
Mon Feb 12 16:48:40 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=114416
Change 114416 by piso at piso_newluxor on 2007/02/12 16:48:14
Maxpacket size affetcs only the user land side of libalias.
Affected files ...
.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_irc.c#18 edit
Differences ...
==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_irc.c#18 (text+ko) ====
@@ -90,9 +90,12 @@
fingerprint(struct libalias *la, struct ip *pip, struct alias_data *ah)
{
- if (ah->dport == NULL || ah->dport == NULL || ah->lnk == NULL ||
- ah->maxpktsize == 0)
+ if (ah->dport == NULL || ah->dport == NULL || ah->lnk == NULL)
+ return (-1);
+#ifndef _KERNEL
+ if (ah->maxpktsize == 0)
return (-1);
+#endif
if (ntohs(*ah->dport) == IRC_CONTROL_PORT_NUMBER_1
|| ntohs(*ah->dport) == IRC_CONTROL_PORT_NUMBER_2)
return (0);
More information about the p4-projects
mailing list