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