projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_4_Lite2 release
[unix-history]
/
usr
/
src
/
sys
/
netiso
/
tp_output.c
diff --git
a/usr/src/sys/netiso/tp_output.c
b/usr/src/sys/netiso/tp_output.c
index
cdd7c4f
..
3990ea3
100644
(file)
--- a/
usr/src/sys/netiso/tp_output.c
+++ b/
usr/src/sys/netiso/tp_output.c
@@
-30,7
+30,7
@@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)tp_output.c 8.
1 (Berkeley) 6/10/93
+ * @(#)tp_output.c 8.
2 (Berkeley) 2/9/95
*/
/***********************************************************
*/
/***********************************************************
@@
-162,7
+162,7
@@
tp_consistency( tpcb, cmd, param )
printf("p_class 0x%x, class_to_use 0x%x\n", param->p_class,
class_to_use);
ENDDEBUG
printf("p_class 0x%x, class_to_use 0x%x\n", param->p_class,
class_to_use);
ENDDEBUG
- if(
(param->p_netservice < 0) || (param->p_netservice > TP_MAX_NETSERVICES)
){
+ if(
param->p_netservice > TP_MAX_NETSERVICES
){
error = EINVAL; goto done;
}
if( (param->p_class & TP_CLASSES_IMPLEMENTED) == 0 ) {
error = EINVAL; goto done;
}
if( (param->p_class & TP_CLASSES_IMPLEMENTED) == 0 ) {