Date: Mon, 12 Feb 2007 16:45:34 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 114415 for review Message-ID: <200702121645.l1CGjY4R047990@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=114415 Change 114415 by piso@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702121645.l1CGjY4R047990>